diff --git a/builder/hyperone/step_create_vm.go b/builder/hyperone/step_create_vm.go index 58c1dfbc0..b1e1f0c9b 100644 --- a/builder/hyperone/step_create_vm.go +++ b/builder/hyperone/step_create_vm.go @@ -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)