mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
Merge pull request #54 from flatcar-linux/kai/ipxe-script
build_library/vm_image_util.sh: Generate iPXE script
This commit is contained in:
commit
9d0e58dbe8
@ -768,6 +768,15 @@ You can pass extra kernel parameters with -append, for example:
|
||||
When using -nographic or -serial you must also enable the serial console:
|
||||
./$(basename "${script}") -nographic -append 'console=ttyS0,115200n8'
|
||||
EOF
|
||||
local packetipxe="$(_dst_dir)/flatcar_production_packet.ipxe"
|
||||
cat > "$packetipxe" <<EOF
|
||||
#!ipxe
|
||||
|
||||
kernel flatcar_production_pxe.vmlinuz initrd=flatcar_production_pxe_image.cpio.gz flatcar.first_boot=1 flatcar.oem.id=packet console=ttyS1,115200n8 flatcar.autologin
|
||||
initrd flatcar_production_pxe_image.cpio.gz
|
||||
boot
|
||||
EOF
|
||||
VM_GENERATED_FILES+=( "$packetipxe" )
|
||||
}
|
||||
|
||||
_write_iso_conf() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user