builder/hyperone: Add support for custom username in vm create
This commit is contained in:
parent
c2975140cf
commit
80d49a1509
|
@ -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