This commit is contained in:
parent
dd581a69f5
commit
7853797121
1 changed files with 5 additions and 0 deletions
|
@ -76,6 +76,11 @@ pub fn create_iso(
|
||||||
|
|
||||||
pub fn setup_auto_install(conf: &str) {
|
pub fn setup_auto_install(conf: &str) {
|
||||||
print_status("Setting up automatic install upon boot");
|
print_status("Setting up automatic install upon boot");
|
||||||
|
std::fs::write(
|
||||||
|
"./iso/airootfs/etc/motd",
|
||||||
|
"Welcome to navOS!\n\nThe system will now install itself.\n",
|
||||||
|
)
|
||||||
|
.unwrap();
|
||||||
std::fs::copy(conf, "./iso/airootfs/root/config.toml").unwrap();
|
std::fs::copy(conf, "./iso/airootfs/root/config.toml").unwrap();
|
||||||
std::fs::write(
|
std::fs::write(
|
||||||
"./iso/airootfs/root/.zshrc",
|
"./iso/airootfs/root/.zshrc",
|
||||||
|
|
Loading…
Add table
Reference in a new issue