2019-01-14, 00:44
Hello,
I "think" I have successfully ipxe boot kickstart a vm client but somehow it did not feel right because it looks just like a regular pxe boot kickstart. I am new to ipxe and hoping for some clarification.
My testing environment is running on VirtualBox. The ipxe configuration and the related files + path are:
Booted up the client vm(node001) and received log message. It then successfully provision node001.
Did it actually ipxe provision node001? Ultimately, I would like to be able to provision hundreds of nodes. Thanks for reading and I would greatly appreciate your feedback and any recommendation using ipxe to provision hundreds of nodes.
I "think" I have successfully ipxe boot kickstart a vm client but somehow it did not feel right because it looks just like a regular pxe boot kickstart. I am new to ipxe and hoping for some clarification.
My testing environment is running on VirtualBox. The ipxe configuration and the related files + path are:
Quote:[root@vmserver tftpboot]# pwd
/var/lib/tftpboot
[root@vmserver tftpboot]# ls
chain.c32 mboot.c32 menu.c32 pxelinux.0 undionly.kpxe
ipxe.lkrn memdisk networkboot pxelinux.cfg
Quote:[root@vmserver tftpboot]# cat pxelinux.cfg/default
default 2
prompt 0
timeout 300
ONTIMEOUT local
LABEL 2
MENU LABEL CentOS 7_X64
KERNEL ipxe.lkrn
APPEND dhcp && chain http://192.168.56.101/centos7.ipxe
Quote:cat /var/www/html/centos7.ipxe
#!ipxe
set base http://192.168.56.101
kernel -n img ${base}/images/pxeboot/vmlinuz ks=${base}/kickstart.cfg inst.repo=${base}
initrd ${base}/images/pxeboot/initrd.img
boot img
Quote:[b]cat /etc/dhcp/dhcpd.conf[b]
subnet 192.168.56.0 netmask 255.255.255.0 {
range 192.168.56.102 192.168.56.253;
option domain-name-servers 192.168.56.101;
option domain-name "vms.zen.edu";
option routers 192.168.56.101;
option broadcast-address 192.168.56.255;
default-lease-time 600;
max-lease-time 7200;
host node001 { hardware ethernet 08:00:....; fixed-address 192.168.56.111; }
next-server 192.168.56.101;
filename "pxelinux.0";
}
Booted up the client vm(node001) and received log message. It then successfully provision node001.
Quote:Loading ipxe.lkrn....ready.
IPXE initialising devices...ok
....
Did it actually ipxe provision node001? Ultimately, I would like to be able to provision hundreds of nodes. Thanks for reading and I would greatly appreciate your feedback and any recommendation using ipxe to provision hundreds of nodes.