Specifying values dynamically using pre section

Tom Miller tmafs at us.ibm.com
Wed Sep 6 15:07:49 UTC 2006


Jesse,
      If ksdevice=link will work thats all I need.  Do you know if I can
use device=link in the
kickstart file too:

network --device link  --bootproto static --ip 9.3.22.109 --netmask
255.255.255.1
28 --gateway 9.3.22.1 --nameserver 9.0.7.1 --hostname
sift22109.austin.ibm.com

And do you know anything about the SuSE distribution. I need to pass the
device to
its bootimage too.. The SuSE autoyast.xml file does take the mac address
but the boot image
does not.  I can try netdevice=link as command line parm to its boot image.

Thanks this just may do it.


Wednesday, September 06, 2006 9:57 AM
To: kickstart-list at redhat.com
cc:
From: Jesse Keating <jkeating at j2solutions.net>
Subject: Re: Specifying values dynamically using pre section


On Wednesday 06 September 2006 09:43, Tom Miller wrote:
> My question is this.
>
> 1. Is there support in netboot image for a command line parm something
like
> this:
> ksmacaddr = 00:00:54:4a:34:9e  instead of ksdevice = eth20
>
> Note: I could use the %pre and ifconfg -a to find out what which nic card
> to put in the kickstart file, but that still does not help me.  The
netboot
> image runs before kicstart %pre would be involked and I have to know the
> right nic name to pass to netboot.img.

I don't know if there is this specifically.  I do know that you can do
ksdevice=link and that will use whichever nic actually has link to it.  Not
sure if this helps.  I'll poke at some anaconda folks and see if there is a
way to specify the macaddr to use for the ksdevice.

--
Jesse Keating RHCE      (geek.j2solutions.net)
Fedora Legacy Team      (www.fedoralegacy.org)
GPG Public Key          (geek.j2solutions.net/jkeating.j2solutions.pub
(See attached file: C.DTF)
_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list





More information about the Kickstart-list mailing list