mirror of
https://github.com/rancher/os.git
synced 2025-07-16 16:11:03 +00:00
Run bootstrap services even if autoformat isn't set
This commit is contained in:
parent
81b35c69e1
commit
68f3b9cfda
@ -11,7 +11,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func bootstrapServices(cfg *config.CloudConfig) (*config.CloudConfig, error) {
|
func bootstrapServices(cfg *config.CloudConfig) (*config.CloudConfig, error) {
|
||||||
if (len(cfg.Rancher.State.Autoformat) == 0 || util.ResolveDevice(cfg.Rancher.State.Dev) != "") && len(cfg.Bootcmd) == 0 {
|
if util.ResolveDevice(cfg.Rancher.State.Dev) != "" && len(cfg.Bootcmd) == 0 {
|
||||||
return cfg, nil
|
return cfg, nil
|
||||||
}
|
}
|
||||||
log.Info("Running Bootstrap")
|
log.Info("Running Bootstrap")
|
||||||
|
Loading…
Reference in New Issue
Block a user