Re: PXE - kicktart %post problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can you put your private file in the same directory tree that the install
uses?  I have a directory called "local" and can copy files from 
/mnt/source/local during the %post phase, since /mnt/source is still
mounted.

-- 
Peter Fales			  Lucent Technologies, Room 1C-436
N9IYJ            		  2000 N Naperville Rd PO Box 3033
internet: psfales@xxxxxxxxxx	  Naperville, IL 60566-7033
			 	  work:	(630) 979-8031
On Mon, Apr 28, 2003 at 05:33:01PM -0400, Justin Herrmann wrote:
> 
> I've seen a few posts about the kickstart %post section
> failing but none of these seem to be related to my problem.
> I'm doing a pxelinux - kickstart - nfs install.  The nfs and dhcp3.0
> servers on the same redhat 7.3 box.  My kickstart file correctly
> builds the new machine and makes the authorized_keys, but when
> I try to mount the nfs (located in 192.168.14.1:/tftpboot) and
> copy a file to the new system kickstart fails.
> 
> ---------------snip----------------------
> 
> %post
> #put my key in place.
> mkdir /root/.ssh
> touch /root/.ssh/authorized_keys
> #
> mkdir /mnt/myupdate
> mount 192.168.14.1:/tftpboot /mnt/myupdate
> cd /
> cp /mnt/myupdate/lmsensorsInst.tar.gz .
> umount /mnt/myupdate
> 
> ---------------snip----------------------
> 
> 
> I wonder if anyone can tell me what I'm doing wrong?
> Also where does kickstart send the error output?
> Thanks in advance.
> 
> -JH
> 
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux