tests: Add serial console to images we boot in CI
In some cases it will not boot without a console, and the CI framework defaults to using serial console. So set it on live-iso, qcow2, and the final iso installed with liveimg. Related: rhbz#1770193
This commit is contained in:
parent
60806ab596
commit
64998d853d
@ -66,7 +66,7 @@ name = "root"
|
|||||||
key = "$PUB_KEY"
|
key = "$PUB_KEY"
|
||||||
|
|
||||||
[customizations.kernel]
|
[customizations.kernel]
|
||||||
append = "custom_cmdline_arg"
|
append = "custom_cmdline_arg console=ttyS0,115200n8 console=tty0"
|
||||||
__EOF__
|
__EOF__
|
||||||
|
|
||||||
rlRun -t -c "$CLI blueprints push $TMP_DIR/with-ssh.toml"
|
rlRun -t -c "$CLI blueprints push $TMP_DIR/with-ssh.toml"
|
||||||
|
@ -46,7 +46,7 @@ name = "root"
|
|||||||
key = "$PUB_KEY"
|
key = "$PUB_KEY"
|
||||||
|
|
||||||
[customizations.kernel]
|
[customizations.kernel]
|
||||||
append = "custom_cmdline_arg"
|
append = "custom_cmdline_arg console=ttyS0,115200n8 console=tty0"
|
||||||
__EOF__
|
__EOF__
|
||||||
|
|
||||||
rlRun -t -c "$CLI blueprints push $TMP_DIR/with-ssh.toml"
|
rlRun -t -c "$CLI blueprints push $TMP_DIR/with-ssh.toml"
|
||||||
|
@ -79,7 +79,7 @@ timezone America/New_York
|
|||||||
keyboard us
|
keyboard us
|
||||||
rootpw --lock
|
rootpw --lock
|
||||||
sshkey --username root "$PUB_KEY"
|
sshkey --username root "$PUB_KEY"
|
||||||
bootloader --location=mbr
|
bootloader --location=mbr --append "custom_cmdline_arg console=ttyS0,115200n8 console=tty0"
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --initlabel --all
|
clearpart --initlabel --all
|
||||||
autopart
|
autopart
|
||||||
|
@ -51,7 +51,7 @@ function setup_tests {
|
|||||||
cat >> $blueprints_dir/example-http-server.toml << __EOF__
|
cat >> $blueprints_dir/example-http-server.toml << __EOF__
|
||||||
|
|
||||||
[customizations.kernel]
|
[customizations.kernel]
|
||||||
append = "custom_cmdline_arg"
|
append = "custom_cmdline_arg console=ttyS0,115200n8 console=tty0"
|
||||||
__EOF__
|
__EOF__
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user