The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ipxe on virtualbox
2019-01-14, 00:44
Post: #1
ipxe on virtualbox
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:
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ipxe on virtualbox - tinkertux - 2019-01-14 00:44
RE: ipxe on virtualbox - NiKiZe - 2019-01-14, 10:38
RE: ipxe on virtualbox - tinkertux - 2019-01-14, 15:24



User(s) browsing this thread: 2 Guest(s)