Can the NFS media location be passed to anaconda as a kernel arg?
Larry Brigman
larry.brigman at gmail.com
Thu Apr 29 04:48:06 UTC 2010
On Wed, Apr 28, 2010 at 11:15 AM, Kyle McDonald <kmcdonald at egenera.com> wrote:
> Hi All,
>
> I want to setup PXE network installs that are interactive, but I'd like
> to limit the amount of questions the user has to enter for each one. The
> PXE boot already passes some kernel args to configure the serial
> console, and force a vnc install. I'm wondering if I can also supply the
> NFS location for the media as a kernel arg so that users don't need to
> type it in everytime (It's always the same, and it's long.)
If pass a kickstart file location in, this can be handle inside of the
kickstart.
>
> Also I know when doing KickStart installs, you can use ks-device=eth1 to
> avoid being prompted for the network device when there is more than one.
> Can I use this same option so that the interactive user doesn't have to
> know which eth to pick?
Are you using pxelinux?
If so then you can use 'APPEND 2' to set the boot interface
http://syslinux.zytor.com/wiki/index.php/SYSLINUX#IPAPPEND_flag_val_.5BPXELINUX_only.5D
>
> On a related note, is there a way to have anaconda figure out which
> interface the PXE boot booted the machine on and just go with that one?
> Right now I need to make 2 different PXE boot config files for the 2
> types of machines I have because one boots on eth0 and the other on eth1.
If you use the above and a kickstart file that uses dhcp then the
networking stuff should be done.
More information about the Kickstart-list
mailing list