Skip to content

Commit

Permalink
install: Actually honor kargs
Browse files Browse the repository at this point in the history
I think this got lost in a refactoring.

Closes: containers#163
  • Loading branch information
cgwalters committed Nov 2, 2023
1 parent 7829bd6 commit ecf8e7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Vec<_>>();
let mut options = ostree_container::deploy::DeployOpts::default();
options.kargs = Some(kargs.as_slice());
Expand Down

0 comments on commit ecf8e7b

Please sign in to comment.