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

This commit is contained in:
Adam Dobrawy 2020-06-29 03:17:38 +02:00
parent c2975140cf
commit 80d49a1509
1 changed files with 1 additions and 0 deletions

View File

@ -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)