mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
move auto-formatter drive selection logic to os-autoformat container
and get rid of: - machine-rancheros.iso, - special case in build-images, - some bootstrap.go code
This commit is contained in:
@@ -82,6 +82,9 @@ func imagesFromConfig(cfg *config.Config) []string {
|
||||
for _, service := range cfg.BootstrapContainers {
|
||||
imagesMap[service.Image] = 1
|
||||
}
|
||||
for _, service := range cfg.Autoformat {
|
||||
imagesMap[service.Image] = 1
|
||||
}
|
||||
for _, service := range cfg.SystemContainers {
|
||||
imagesMap[service.Image] = 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user