mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 05:10:55 +00:00
fix(runtime): debug should be respected
This commit is contained in:
@ -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('-', ":");
|
||||||
|
Reference in New Issue
Block a user