remove boot-v1

This commit is contained in:
Mikaël Cluseau
2024-01-20 17:26:28 +01:00
parent 6bf1d1ccf2
commit 5fd3a9d925
5 changed files with 19 additions and 109 deletions

View File

@ -81,6 +81,13 @@ func bootstrap(cfg *config.Config) {
layersOverride["modules"] = "/modules.sqfs"
sysCfg := applyConfig(sysCfgPath, false)
// load requested modules
for _, mod := range sysCfg.Modules {
log.Info().Str("module", mod).Msg("loading module")
run("modprobe", mod)
}
// localy-generated assets dir
localGenDir := filepath.Join(bsDir, "local-gen")
// vpns are v2+