Skip to content

Commit

Permalink
fix(esxi): Set 'IsInit' as true when rebuildroot
Browse files Browse the repository at this point in the history
IsInit is true will cause cloudinit enable. When rebuilding root, if there is cloudinit service in the image, it will cover the initialization work we did on the rebuilding.
  • Loading branch information
rainzm committed May 15, 2020
1 parent 893df7b commit 2fe738b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/hostman/storageman/storage_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ func (as *SAgentStorage) AgentDeployGuest(ctx context.Context, data interface{})
if err != nil {
return nil, errors.Wrap(err, "agentRebuildRoot")
}
init = true
}

var (
Expand Down

0 comments on commit 2fe738b

Please sign in to comment.