builder/hyperone: Add support for custom username in vm create

pull/9497/head
Adam Dobrawy 6 years ago
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…
Cancel
Save