On Fri, Nov 29, 2019 at 11:06 AM Orion Poplawski <orion at nwra.com> wrote:> On 11/29/19 6:55 AM, Jerry Geis wrote: > >> I am trying to specify a static IP on the new dracut format. I was using > >> this: > >> http://man7.org/linux/man-pages/man7/dracut.cmdline.7.html > >> > >> So my grub entry consists > >> menuentry "Install CentOS 8" { > >> linux /boot/vmlinuz noverifyssl ks=https://something > >> ip=192.168.1.3::192.168.1.1:255.255.255.0::eth0:on:192.168.1.1 > >> biosdevname=0 net.ifnames=0 ksdevice=eth0 inst.sshd sshd=1 > >> initrd /boot/initrd.img > >> } > >> > >> > >> This seems OK to me. But rebooting to start the install for CentOS 8 it > >> just stops and says > >> "system halted". the lines above that have no errors. > >> .3 is the IP I want to use > >> .1 is the GW and the Nameserver in this case. > > >I'm guessing something with your kernel and/or initrd.img is incorrect. > >If it was just the interface not getting configured properly you should > >eventually get a bunch to dracut timeouts and then get dropped into the > >emergency shell where you could poke around, not "system halted". > > > So the only thing I changed then was the ":on:" to ":off:", re-ran thegrub2-mkconfig and I get the dracut timeouts (3 of them) after rebooting then dracut stating it cannot download my ks file. So seems like the format is OK. No idea why its stopping on the ":on:" jerry
I found this format: ip=*<client-IP>*:[ *<server-id>* ]:*<gateway-IP>*:*<netmask>*: *<client_hostname>*:*<interface>*:*{none|off}* What is "none" : off I assume means do not start the ethernet network. But what is none. When I have it set to "on" my installation halts with "system halted" and I cannot see a visible error. I have not tried none yet. Next week perhaps. Jerry
Hi, <...> Are you trying to use the installed kernel (you mentioned "dracut") to boot a kickstart installation? That is not going to work, you need to use the **installation** kernel and initrd.img from BaseOS/x86_64/kickstart/images/pxeboot btw, the ks syntax has changed from ks= -> inst.ks my 2 cts. Tru -- Tru Huynh http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20191129/a622f6aa/attachment-0002.sig>
On 11/29/19 1:08 PM, Jerry Geis wrote:> I found this format: > |ip=|/|<client-IP>|/:[/|<server-id>|/ > ]:/|<gateway-IP>|/:/|<netmask>|/:/|<client_hostname>|/:/|<interface>|/:/|{none|off}|/ > > > What is "none" : off I assume means do not start the ethernet network. > But what is none.? ? ?When I have it set to "on" my installation halts > with "system halted" and I cannot?see a visible error.? I have not tried > none yet. Next week perhaps. > Jerry"none" is the autoconfig method - so none = static. Or it could be auto/dhcp I think. -- Orion Poplawski Manager of NWRA Technical Systems 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion at nwra.com Boulder, CO 80301 https://www.nwra.com/