[CentOS] Kickstart ksdevice question

James A. Peltier jpeltier at sfu.ca
Wed Nov 1 21:02:00 UTC 2017


----- On 1 Nov, 2017, at 13:07, Chris Adams linux at cmadams.net wrote:

| Once upon a time, Mark Haney <mark.haney at neonova.net> said:
|> On 11/01/2017 03:25 PM, Chris Adams wrote:
|> >Once upon a time, Mark Haney <mark.haney at neonova.net> said:
|> >>Okay, so it looks like I can simply change ksdevice=eth0  to
|> >>bootdev=eth0, correct?
|> >I believe you can just leave both off (IIRC for CentOS 6 as well) if you
|> >add "ipappend 2" to the pxelinux stanza.
|> >
|> I probably should have clarified that we're not using PXE and
|> probably won't for the forseeable future.  This is just a simple
|> netinstall disc/flash drive boot.
| 
| Oh, okay.  IIRC at one point there was an option to pick an interface
| with link (ksdevice=link or some such), but I don't know if that made it
| to the re-designed anaconda...
| 
| <wanders off to look at anaconda source>
| 
| Yep, still there, but it is also not needed (and actually ignored).  By
| default, the first NIC with a link will be used.  This is for some value
| of "first" of course, although I do find that the new naming does tend
| to match the order of the hardware more often than eth0/eth1/...
| 
| --
| Chris Adams <linux at cmadams.net>
| _______________________________________________
| CentOS mailing list
| CentOS at centos.org
| https://lists.centos.org/mailman/listinfo/centos

Leaving ksdevice= off the command line will prompt you for the location of the kickstart file and the device you want to use to kickstart

-- 
James A. Peltier
Manager - Research Computing Group | IT Services
Simon Fraser University | ASB10973
8888 University Dr., Burnaby, B.C. V5A 1S6
T: 778.782.6573 | M: 604.365.6432 | sfu.ca/itservices
Twitter: @sfu_it



More information about the CentOS mailing list