#!ipxe set ignition-server 192.168.40.3 #set base-url http://${ignition-server}/flatcar set base-url http://stable.release.flatcar-linux.net/amd64-usr/current set vm-install-target /dev/vda :start menu Cadoles PXE Boot Options item gap1 -------------------- CadolesKube -------------------- item klead Run Leader (RAM) item kmaster Run Master (RAM) item knode Run Node (RAM) item gap2 ----------------------------------------------------- item iklead Install Leader (VM) item ikmaster Install Master (VM) item iknode Install Node (VM) item gap2 ----------------------------------------------------- item shell iPXE shell item gap3 ----------------------------------------------------- item exit Exit to BIOS choose --default exit --timeout 10000 option && goto ${option} :shell shell :klead set ignition-url http://${ignition-server}/leader.json kernel ${base-url}/flatcar_production_pxe.vmlinuz initrd=flatcar_production_pxe_image.cpio.gz flatcar.first_boot=1 ignition.config.url=${ignition-url} initrd ${base-url}/flatcar_production_pxe_image.cpio.gz boot :kmaster set ignition-url http://${ignition-server}/leader.json kernel ${base-url}/flatcar_production_pxe.vmlinuz initrd=flatcar_production_pxe_image.cpio.gz flatcar.first_boot=1 ignition.config.url=${ignition-url} initrd ${base-url}/flatcar_production_pxe_image.cpio.gz :knode set ignition-url http://${ignition-server}/leader.json kernel ${base-url}/flatcar_production_pxe.vmlinuz initrd=flatcar_production_pxe_image.cpio.gz flatcar.first_boot=1 ignition.config.url=${ignition-url} initrd ${base-url}/flatcar_production_pxe_image.cpio.gz :iklead set ignition-url http://${ignition-server}/leader-install.json kernel ${base-url}/flatcar_production_pxe.vmlinuz initrd=flatcar_production_pxe_image.cpio.gz flatcar.first_boot=1 flatcar.target=${vm-install-target} ignition.config.url=${ignition-url} initrd ${base-url}/flatcar_production_pxe_image.cpio.gz boot :iknode set ignition-url http://${ignition-server}/leader.json kernel ${base-url}/flatcar_production_pxe.vmlinuz initrd=flatcar_production_pxe_image.cpio.gz flatcar.first_boot=1 flatcar.target=${vm-install-target} ignition.config.url=${ignition-url} initrd ${base-url}/flatcar_production_pxe_image.cpio.gz boot :iknode set ignition-url http://${ignition-server}/leader.json kernel ${base-url}/flatcar_production_pxe.vmlinuz initrd=flatcar_production_pxe_image.cpio.gz flatcar.first_boot=1 flatcar.target=${vm-install-target} ignition.config.url=${ignition-url} initrd ${base-url}/flatcar_production_pxe_image.cpio.gz boot :exit exit