1
0
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:
Ivan Mikushin
2015-07-21 20:43:20 +05:00
parent dbae0a6012
commit d33698d17b
6 changed files with 53 additions and 104 deletions

View File

@@ -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
}