wow, what a workaround. Will try it. Thank you very much.
Gerd -- Gerd Mueller Mika Timing GmbH Strundepark Kuertener Str. 11b 51465 Bergisch Gladbach Phone: +49 (0)2202-2401-153 Mobile: +49 (0)151 5500 4015 Fax: +49 (0)2202-2401-253 email: [email protected] WEB Adresse: www.mikatiming.de Key ID: 2AA04C1F Am Dienstag, den 15.12.2009, 13:11 +0000 schrieb James Hogarth: > I was working round the same thing fairly recently and this is how I > put ti all together in the end: > > pre-script: > > set -- `cat /proc/cmdline` > for I in $*; > do > case "$I" in > *=*) eval $I > ;; > esac; > done > > echo "network --device eth0 --bootproto static \ > --ip=${ip} --netmask=${netmask} \ > --gateway=${gateway} \ > --hostname=${hostname}.<fully qualifed domain> \ > --onboot=yes --noipv6 \ > --nameserver=<ipOfDNS>,<ipOfDNS>" > /tmp/network > > In the kickstart configuration (advanced options) I have > > --device eth0 --bootproto static --nameserver=<ipOfDNS>,<ipOfDNS> > --noipv6 > > on the bootcd kernel options i do: > > <label> ip=<ipaddress> hostname=<shorthostname> ks=<kickstartfile> > > finally within the kickstart advanced options have an: > > %include /tmp/network > > that will then set up eth0 with the ip address given at the command > prompt and the hostname as well.... at least it dos for me > > 2009/12/15 Gerd Mueller <[email protected]> > me again! > > In my network I want to use fixed Ips to install (no dhcp > Server). That > is why I have create my own kickstart netinstall cd. To > install the > machine I now just use "ks". I added kickstartfile url to the > append > parameter inside the isolinux.cfg. Everything works fine for > me. I am > ask for IP,Network, ... and than the install process fetches > the > kickstart file from my spacewalk server. > > So far so good. > > But how to I have to set the network parameter inside the > kickstart > file. Right now I set it to "bootproto=query" which causes the > install > process to ask a second time for the ipadress, netmask, ... > Anything > else "destroys" the network configuration. > > What am I missing? > > Thank you > > Gerd > > > > > -- > Gerd Mueller > > Mika Timing GmbH > Strundepark > Kuertener Str. 11b > 51465 Bergisch Gladbach > > Phone: +49 (0)2202-2401-153 > Mobile: +49 (0)151 5500 4015 > Fax: +49 (0)2202-2401-253 > email: [email protected] > WEB Adresse: www.mikatiming.de > > Key ID: 2AA04C1F > > > > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
