diff --git a/brand/src/bin/brand.rs b/brand/src/bin/brand.rs index c50f36a..b2f8263 100644 --- a/brand/src/bin/brand.rs +++ b/brand/src/bin/brand.rs @@ -282,6 +282,17 @@ fn cmd_install( extra.unpack(&root)?; } + /* + * Copy in configuration files from the global zone. + */ + for cf in ["default/init"] { + let src = format!("/etc/{cf}"); + println!("INFO: omicron: copying {src}..."); + let dst = s.zonerootpath(&["etc", cf]); + std::fs::remove_file(&dst).ok(); + std::fs::copy(src, dst)?; + } + println!("INFO: omicron: install complete, probably!"); Ok(())