From ba7864e11113df62c3da109ce4eddbfd0d742f0f Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 6 Jan 2021 14:47:27 +0000 Subject: [PATCH] tests: Send systemd journal to console This will aid debugging of test issues especially those for critical services during the boot. Signed-off-by: Rob Bradford --- tests/integration.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration.rs b/tests/integration.rs index e8f70299b..f516e21da 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -97,7 +97,8 @@ mod tests { #[cfg(target_arch = "x86_64")] const FOCAL_IMAGE_NAME_QCOW2: &str = "focal-server-cloudimg-amd64-custom-20210106-1.qcow2"; - const DIRECT_KERNEL_BOOT_CMDLINE: &str = "root=/dev/vda1 console=hvc0 rw"; + const DIRECT_KERNEL_BOOT_CMDLINE: &str = + "root=/dev/vda1 console=hvc0 rw systemd.journald.forward_to_console=1"; const PIPE_SIZE: i32 = 32 << 20;