forked from rosa/hakurei
cmd/app: configure username and hostname
These no longer need to be hardcoded since this is not subject to the limitations of home-manager. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -172,6 +172,14 @@ func parse(id string, base *check.Absolute, r io.Reader) (*hst.Config, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch key {
|
switch key {
|
||||||
|
case "username":
|
||||||
|
c.Container.Username = value
|
||||||
|
continue
|
||||||
|
|
||||||
|
case "hostname":
|
||||||
|
c.Container.Hostname = value
|
||||||
|
continue
|
||||||
|
|
||||||
case "group":
|
case "group":
|
||||||
c.Groups = append(c.Groups, value)
|
c.Groups = append(c.Groups, value)
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user