Merge pull request #9497 from ad-m/hyperone-username
builder/hyperone: Add support for custom username in vm create
This commit is contained in:
commit
50c65847d1
|
@ -55,6 +55,7 @@ func (s *stepCreateVM) Run(ctx context.Context, state multistep.StateBag) multis
|
|||
Netadp: []openapi.VmCreateNetadp{netAdapter},
|
||||
UserMetadata: config.UserData,
|
||||
Tag: config.VmTags,
|
||||
Username: config.Comm.SSHUsername,
|
||||
}
|
||||
|
||||
vm, _, err := client.VmApi.VmCreate(ctx, options)
|
||||
|
|
Loading…
Reference in New Issue