[pve-devel] [PATCH installer 3/4] tui: add missing argument for low-level installer test-session
Christoph Heiss
c.heiss at proxmox.com
Tue Nov 21 11:45:50 CET 2023
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 at proxmox.com>
---
proxmox-installer-common/src/setup.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxmox-installer-common/src/setup.rs b/proxmox-installer-common/src/setup.rs
index 70bdc3c..472e1f2 100644
--- a/proxmox-installer-common/src/setup.rs
+++ b/proxmox-installer-common/src/setup.rs
@@ -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 {
--
2.42.0
More information about the pve-devel
mailing list