fix(runtime): debug should be respected

This commit is contained in:
Alex Zenla 2024-06-20 17:02:16 -07:00
parent bc95ae491b
commit 089c9cbff9
No known key found for this signature in database
GPG Key ID: 067B238899B51269

View File

@ -138,7 +138,10 @@ impl GuestLauncher {
} else { } else {
None None
}; };
let cmdline_options = ["console=hvc0", "quiet"]; let mut cmdline_options = ["console=hvc0"].to_vec();
if !request.debug {
cmdline_options.push("quiet");
}
let cmdline = cmdline_options.join(" "); let cmdline = cmdline_options.join(" ");
let guest_mac_string = container_mac.to_string().replace('-', ":"); let guest_mac_string = container_mac.to_string().replace('-', ":");