Thanks Tom, was using the earlier koan, tested now with 1.2 but the same result 

# koan  -s cobbler --replace-self
...
- ['/sbin/grubby', '--add-kernel', '/boot/vmlinuz', '--initrd', 
'/boot/initrd.img', '--args', 'ksdevice=eth0 lang= text ks=http://cobbler/cblr
/svc/op/ks/system/fred kssendmac ', '--copy-default', '--make-default', 
'--title=kick12
21732788']

However I did notice the -k option so running

# koan  -s cobbler -k ks=file:/ks.cfg --replace-self
....
- ['/sbin/grubby', '--add-kernel', '/boot/vmlinuz', '--initrd', 
'/boot/initrd.img', '--args', 'ksdevice=eth0 lang= text ks=file:/ks.cfg  
kssendmac ', '--copy-default', '--make-default', '--title=kick1221735005']

Which gives me what I need and the build will complete without any interaction, 
putting the IP details on the boot line is an option, but this seems simpler ...

Cheers,
Simon 




--- [EMAIL PROTECTED] wrote:

From: Tom Brown <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED],  cobbler mailing list <[email protected]>
Subject: Re: koan --replace-self without DHCP
Date: Thu, 18 Sep 2008 10:11:12 +0100

The IP info should be on the grub line - what versions of koan/cobbler 
are you using as some early 1.0 koan's had a bug i seem to remember
> I just tried using koan --replace-self on a system (physical) that uses a 
> static IP, using the network snippet the ks.cfg contains all the correct 
> info, from koan I see the ks.cfg file gets embedded in the initrd, however 
> grub gets populated with ks=http://x.x.x.x.x rather than file:/tmp/ks.cfg 
> this means the replace goes interactive as the host needs an IP to get the 
> ks.cfg... or I am missing something ?
>
> Cheers,
> Simon  
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   




_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to