The post script doesn't have to run in a chroot environment. But it will if you specify: '%post --chroot' I personally do not. Also, I routinely use wget within the %post script to retrieve rpms and batch files from my installation server. I have never tried to pull anything off the actuall media during post script as my installations are entirely http (which means that modifying the ks.cfg between builds is a snap). Hope this helps. -----Original Message----- From: Alexander P. Javier [mailto:alyx@xxxxxxxxxxxxxx] Sent: Monday, December 01, 2003 4:58 PM To: kickstart-list@xxxxxxxxxx Cc: 'Crow69 aka thedude' Subject: RE: preinstall section - how to backup ssh keys? I'm no expert, but a note on the redhat linux 9 customization guide (page 47) says "...The post-install script is run in a chroot environment; therefore, performing tasks such as copying scripts or RPMs from the installation media will not work...." Best Regards, Alexander P. Javier National Computer Center - Field Operations Office URL: http://foo.ncc.gov.ph eMail: info@xxxxxxxxxxxxxx - - - - - - - - - - - - - - - - - - - - - - - - - - This email transmission may contain confidential and/or proprietary information, and is intended solely for the person/entity to whom it is originally addressed. Any disclosure, copying, or dissemination, or any action taken with reliance to it by others, other than by the intended recipient, is strictly prohibited.The content of this message may contain private views and opinions, which do not constitute a formal disclosure or comment unless specifically stated. -----Original Message----- From: kickstart-list-admin@xxxxxxxxxx [mailto:kickstart-list-admin@xxxxxxxxxx] On Behalf Of Crow69 aka thedude Sent: Tuesday, December 02, 2003 07:52 am To: kickstart-list@xxxxxxxxxx Subject: preinstall section - how to backup ssh keys? I'm trying to backup the ssh keys on a server to be rekickstarted but I am having trouble. Can someone suggest a "pre" and "post" section to backup the keys? Right now i'm trying to backup the keys to /tmp during the "pre" section and then copy them back in the "post" section. But, the files don't seem to be copied: pre section: /bin/mkdir /tmp/sshkeys /bin/cp /etc/ssh/ssh_host* /tmp/sshkeys post section: /bin/cp -rp /tmp/sshkeys /root cp /root/sshkeys/* /etc/ssh Can anyone tell me why the above is not backing up the ssh keys? I don't think it even copies the original sshkeys to /tmp/sshkeys. Jeff _________________________________________________________________ Groove on the latest from the hot new rock groups! Get downloads, videos, and more here. http://special.msn.com/entertainment/wiredformusic.armx _______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list _______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list