mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-06 09:52:14 +01:00
fix(build_library): fix the pxe image instructions
the args to the kernel have changed to state= and root=squashfs: also make the boot be 1024Mb of RAM otherwise qemu falls over with initrds.
This commit is contained in:
parent
f2637ab8d0
commit
178783f1c8
@ -440,7 +440,7 @@ _write_pxe_conf() {
|
|||||||
If you have qemu installed (or in the SDK), you can start the image with:
|
If you have qemu installed (or in the SDK), you can start the image with:
|
||||||
cd path/to/image
|
cd path/to/image
|
||||||
|
|
||||||
qemu-kvm -kernel ${vmlinuz_name} -initrd ${dst_name} -append 'diskless sshkey="PUT AN SSH KEY HERE"'
|
qemu-kvm -m 1024 -kernel ${vmlinuz_name} -initrd ${dst_name} -append 'state=tmpfs: root=squashfs: sshkey="PUT AN SSH KEY HERE"'
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user