✨ option to not use tmpfs
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
86cf3edb90
commit
1ff81b1915
3 changed files with 14 additions and 4 deletions
|
@ -35,13 +35,20 @@ fn main() {
|
|||
match args.subcommand() {
|
||||
Some(("create-iso", iso_args)) => {
|
||||
let without_gui = iso_args.get_flag("without_gui");
|
||||
let no_tmp = iso_args.get_flag("no_tmp");
|
||||
let kb_layout_default = "us".to_string();
|
||||
let kb_layout: &String = iso_args.get_one("kb_layout").unwrap_or(&kb_layout_default);
|
||||
let kb_variant: Option<&str> =
|
||||
iso_args.get_one("kb_variant").map(|x: &String| x.as_str());
|
||||
let auto_install_config: Option<&String> = iso_args.get_one("install");
|
||||
|
||||
create_iso(without_gui, kb_layout, kb_variant, auto_install_config);
|
||||
create_iso(
|
||||
without_gui,
|
||||
no_tmp,
|
||||
kb_layout,
|
||||
kb_variant,
|
||||
auto_install_config,
|
||||
);
|
||||
std::process::exit(0);
|
||||
}
|
||||
Some(("create-tar", _)) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue