From 6888b7fbc69f9fb95b115a0956be6c30b0c82cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=BCke?= Date: Thu, 21 Nov 2019 15:15:17 +0100 Subject: [PATCH 1/2] build_library: Document when Ignition needs flatcar.first_boot=1 --- build_library/qemu_template.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build_library/qemu_template.sh b/build_library/qemu_template.sh index 3621956a53..e8a0b019c1 100755 --- a/build_library/qemu_template.sh +++ b/build_library/qemu_template.sh @@ -21,6 +21,7 @@ SAFE_ARGS=0 USAGE="Usage: $0 [-a authorized_keys] [--] [qemu options...] Options: -i FILE File containing an Ignition config + (needs \"-append 'flatcar.first_boot=1'\" for already-booted or PXE images) -u FILE Cloudinit user-data as either a cloud config or script. -c FILE Config drive as an iso or fat filesystem image. -a FILE SSH public keys for login access. [~/.ssh/id_{dsa,rsa}.pub] From b361b03cef6c32f880449a04dba29dd460221bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=BCke?= Date: Thu, 21 Nov 2019 16:10:11 +0100 Subject: [PATCH 2/2] build_library: Document flatcar.autologin kernel cmdline option --- build_library/qemu_template.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_library/qemu_template.sh b/build_library/qemu_template.sh index e8a0b019c1..ed8d226992 100755 --- a/build_library/qemu_template.sh +++ b/build_library/qemu_template.sh @@ -34,7 +34,8 @@ The -a option may be used to specify a particular ssh public key to give login access to. If -a is not provided ~/.ssh/id_{dsa,rsa}.pub is used. If no public key is provided or found the VM will still boot but you may be unable to login unless you built the image yourself after setting a -password for the core user with the 'set_shared_user_password.sh' script. +password for the core user with the 'set_shared_user_password.sh' script +or provide the option \"-append 'flatcar.autologin'\". Any arguments after -a and -p will be passed through to qemu, -- may be used as an explicit separator. See the qemu(1) man page for more details.