From ecf8e7b5c5cac8871d60a98cf834401b55f40bda Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 2 Nov 2023 17:54:10 -0400 Subject: [PATCH] install: Actually honor kargs I think this got lost in a refactoring. Closes: https://github.com/containers/bootc/issues/163 --- lib/src/install.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/install.rs b/lib/src/install.rs index 576e357a9..60ebf0259 100644 --- a/lib/src/install.rs +++ b/lib/src/install.rs @@ -531,6 +531,7 @@ async fn initialize_ostree_root_from_self( .kargs .iter() .map(|v| v.as_str()) + .chain(state.config_opts.karg.iter().flatten().map(|v| v.as_str())) .collect::>(); let mut options = ostree_container::deploy::DeployOpts::default(); options.kargs = Some(kargs.as_slice());