This commit is contained in:
parent
c680a11d9e
commit
8c9db904df
4 changed files with 16 additions and 5 deletions
|
@ -53,9 +53,6 @@ fn main() {
|
|||
std::process::exit(1);
|
||||
}
|
||||
|
||||
// TODO : make secure boot configurable
|
||||
//ensure_secure_boot();
|
||||
|
||||
let config_file: &String = install_args.get_one("config").unwrap();
|
||||
let force = install_args.get_flag("force");
|
||||
let conf = read_conf(config_file);
|
||||
|
@ -66,6 +63,10 @@ fn main() {
|
|||
expect_yes();
|
||||
}
|
||||
|
||||
if conf.general.secure_boot.unwrap_or(false) {
|
||||
ensure_secure_boot();
|
||||
}
|
||||
|
||||
// Run the
|
||||
install(conf, true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue