don't write config.yaml anymore
This commit is contained in:
parent
4a12e1ba8f
commit
7325ee1c0c
@ -97,12 +97,6 @@ func applyConfig(cfgPath string, bootMounted bool) (cfg *configV1) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// - write configuration
|
|
||||||
log.Info().Msg("writing /config.yaml")
|
|
||||||
if err := os.WriteFile("/system/config.yaml", cfgBytes, 0600); err != nil {
|
|
||||||
fatal("failed: ", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
// - write files
|
// - write files
|
||||||
apply.Files(cfg.Files, "/system")
|
apply.Files(cfg.Files, "/system")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user