Skip to content

Commit

Permalink
fix(esxi): Set 'WindowsDefaultAdminUser' as true when deploy vm.
Browse files Browse the repository at this point in the history
'WindowsDefaultAdminUser' means that the default admin account is
'Administrator' when deploy windows vm.
  • Loading branch information
rainzm committed May 15, 2020
1 parent 4530564 commit 3318435
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/hostman/storageman/storage_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,11 @@ func (as *SAgentStorage) AgentDeployGuest(ctx context.Context, data interface{})
DiskPath: rootPath,
GuestDesc: &guestDesc,
DeployInfo: &deployapi.DeployInfo{
PublicKey: &key,
Deploys: deployArray,
Password: passwd,
IsInit: init,
PublicKey: &key,
Deploys: deployArray,
Password: passwd,
IsInit: init,
WindowsDefaultAdminUser: true,
},
VddkInfo: &vddkInfo,
})
Expand Down

0 comments on commit 3318435

Please sign in to comment.