Permalink
Browse files

Run bootstrap services even if autoformat isn't set

  • Loading branch information...
1 parent 81b35c6 commit 68f3b9cfdaf732ec59db7cd849f415fdab4cc8e8 @joshwget joshwget committed Jan 5, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 init/bootstrap.go
View
@@ -11,7 +11,7 @@ import (
)
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
}
log.Info("Running Bootstrap")

0 comments on commit 68f3b9c

Please sign in to comment.