Welcome: Create new users via Memberships API
Change-Id: Iaa12b3438340a5ca4c4fdb2157d1e8f064d56139
diff --git a/core/installer/tasks/infra.go b/core/installer/tasks/infra.go
index f855adf..eb4840f 100644
--- a/core/installer/tasks/infra.go
+++ b/core/installer/tasks/infra.go
@@ -78,6 +78,7 @@
type firstAccount struct {
Created bool `json:"created"`
+ Domain string `json:"domain"`
Groups []string `json:"groups"`
}
@@ -88,7 +89,7 @@
return err
}
return r.Do(func(r soft.RepoFS) (string, error) {
- fa := firstAccount{false, initGroups}
+ fa := firstAccount{false, env.Domain, initGroups}
if err := soft.WriteYaml(r, "first-account.yaml", fa); err != nil {
return "", err
}