summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-06-28 08:11:50 +0300
committerLars Wirzenius <liw@liw.fi>2023-06-28 22:13:46 +0300
commitdda4e702df9d2393585fa7e719781fcad6a7acb2 (patch)
treea418ad53a57ecf310e40b731d60d43b3c184716e
parentaac05a0fb68d695b525ca6d6a12d059b592fdf61 (diff)
downloadambient-ci-dda4e702df9d2393585fa7e719781fcad6a7acb2.tar.gz
fix: make boot be verbose
The boot and shutdown messages can be helpful for debugging. Don't ask me how I know. Sponsored-by: author
-rw-r--r--ambient-playbook-base.yml8
-rw-r--r--ambient.vmdb2
-rwxr-xr-xtest-project/.ambient-script2
3 files changed, 4 insertions, 8 deletions
diff --git a/ambient-playbook-base.yml b/ambient-playbook-base.yml
index 2fa26b4..c9e9c25 100644
--- a/ambient-playbook-base.yml
+++ b/ambient-playbook-base.yml
@@ -31,14 +31,6 @@
virtio_pci
dest: /etc/initramfs-tools/modules
- - name: "configure boot to be quieter"
- lineinfile:
- path: /etc/default/grub
- regexp: '^GRUB_CMDLINE_LINUX_DEFAULT='
- line: >
- GRUB_CMDLINE_LINUX_DEFAULT="biosdevname=0 net.ifnames=0
- loglevel=3 rw quiet systemd.show_status=false rd.systemd.show_status=false"
-
- name: "update initramfs and grub"
shell: |
update-initramfs -u
diff --git a/ambient.vmdb b/ambient.vmdb
index adc34bb..25e613a 100644
--- a/ambient.vmdb
+++ b/ambient.vmdb
@@ -59,6 +59,8 @@ steps:
- grub: uefi
tag: /
efi: efi
+ console: serial
+ quiet: false
- ansible: /
playbook: ambient-playbook-base.yml
diff --git a/test-project/.ambient-script b/test-project/.ambient-script
index 2f37dcf..797ac74 100755
--- a/test-project/.ambient-script
+++ b/test-project/.ambient-script
@@ -4,6 +4,8 @@ set -euo pipefail
echo "hello from test-project's ambient script: $*"
+cat /proc/cmdline
+
output="$1"
echo "produce output tar"