Note that if you leave the installnic/primarynic fields blank, it should auto-switch between eth0 and eth2 if required.
If you want eth0 to specifically be one of the interfaces, you could omit one of the drivers from the geninitrd phase. What adapters are controlling eth0 and eth2? From: Heckes Frank (CI/OSB4) via xCAT-user <xcat-user@lists.sourceforge.net> Sent: Thursday, July 11, 2019 4:27 AM To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Cc: Heckes Frank (CI/OSB4) <frank.hec...@de.bosch.com> Subject: [External] [xcat-user] rhel7.6 diskless boot stalls Hi all, I created a diskless image for rhel7.6 using genimage (xCAT Version 2.13.7). The dhcp/tftp boot process works fine, but the execution of the initrd stalls after some time. Even the Dracut shell is unusable. I tried specify the bootif as described below in the tftp boot record, but it doesn't help. Performing a statefull install I noticed that the NIC HW instances are not named (ethX) persistently during reboot. Aka the primary NIC might be named eth0 or eth2, as this is not guaranteed by the kernel. * Does any know how to set the bootif in a deterministic way? * Increase verbosity or chance to reach Dracut/emergeny shell to check the system for error? Many thanks for any help or advice. Cheers, -Frank ------------------- DHCP Record ------------------------ host syv-hpc-login1 { dynamic; hardware ethernet 4c:52:62:2e:c9:7b; uid 4c:52:62:2e:c9:7b; fixed-address 10.236.87.203; supersede server.ddns-hostname = "syv-hpc-login1"; supersede host-name = "syv-hpc-login1"; if option user-class-identifier = "xNBA" and option client-architecture = 00:00 { supersede server.always-broadcast = 01; supersede server.filename = "http://10.236.87.199:80/tftpboot/xcat/xnba/nodes/syv-hpc-login1"; } elsif option user-class-identifier = "xNBA" and option client-architecture = 00:09 { supersede server.filename = "http://10.236.87.199:80/tftpboot/xcat/xnba/nodes/syv-hpc-login1.uefi"; } elsif option client-architecture = 00:07 { supersede server.filename = "xcat/xnba.efi"; } elsif option client-architecture = 00:00 { supersede server.filename = "xcat/xnba.kpxe"; } else { supersede server.filename = ""; } supersede server.next-server = 0a:ec:57:c7; } ------------------- TFTP Record ------------------------ #!gpxe #netboot rhels7.6-x86_64-compute imgfetch -n kernel http://${next-server}:80/tftpboot/xcat/osimage/rhels7.6-x86_64-netboot-computeProd/kernel<http://$%7bnext-server%7d:80/tftpboot/xcat/osimage/rhels7.6-x86_64-netboot-computeProd/kernel> imgload kernel imgargs kernel imgurl=http://10.236.87.199:80//install/images/builds/rhels7.6/x86_64/netboot/compute-2.0.0/rootimg.cpio.gz XCAT=10.236.87.199:3001 NODE=syv-hpc-login1 FC=0 XCATHTTPPORT=80 console=tty0 console=ttyS0,115200n8r selinux=0 biosdevname=0 net.ifnames=0 nouveau.blacklist=yes BOOTIF=4C:52:62:2E:C9:7B imgfetch http://${next-server}:80/tftpboot/xcat/osimage/rhels7.6-x86_64-netboot-computeProd/initrd-stateless.gz<http://$%7bnext-server%7d:80/tftpboot/xcat/osimage/rhels7.6-x86_64-netboot-computeProd/initrd-stateless.gz> imgexec kernel --- elio default="xCAT" delay=0 image=/tftpboot/xcat/osimage/rhels7.6-x86_64-netboot-computeProd/kernel label="xCAT" initrd=/tftpboot/xcat/osimage/rhels7.6-x86_64-netboot-computeProd/initrd-stateless.gz append="imgurl=http://10.236.87.199:80//install/images/builds/rhels7.6/x86_64/netboot/compute-2.0.0/rootimg.cpio.gz XCAT=10.236.87.199:3001 NODE=syv-hpc-login1 FC=0 XCATHTTPPORT=80 console=tty0 console=ttyS0,115200n8r selinux=0 biosdevname=0 net.ifnames=0 nouveau.blacklist=yes BOOTIF=4C:52:62:2E:C9:7B"
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user