]> git.proxmox.com Git - pve-installer.git/commitdiff
tui: add missing argument for low-level installer test-session
authorChristoph Heiss <c.heiss@proxmox.com>
Tue, 21 Nov 2023 10:45:50 +0000 (11:45 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Nov 2023 12:11:50 +0000 (13:11 +0100)
This broke running the TUI installer in debug mode, does not effect
release builds in any way.

Fixes: 4b4dfa1 ("low level: testmode: take path to disk image instead of using /dev/null")
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
proxmox-installer-common/src/setup.rs

index 70bdc3c218a6a1079b4df2ebf6196d90c0014397..472e1f201bb3241a19727285f3e7b2fb8e89ce75 100644 (file)
@@ -373,7 +373,7 @@ pub fn spawn_low_level_installer(test_mode: bool) -> io::Result<process::Child>
     let (path, args, envs): (&str, &[&str], Vec<(&str, &str)>) = if test_mode {
         (
             "./proxmox-low-level-installer",
-            &["-t", "start-session-test"],
+            &["-t", "/dev/null", "start-session-test"],
             vec![("PERL5LIB", ".")],
         )
     } else {