test/data: create core user via kickstart

Create the users via the new users support that was added to the
kickstart stage, instead of having them in the OSTree commit.
This commit is contained in:
Christian Kellner 2021-07-14 17:26:14 +00:00 committed by Tom Gundersen
parent 9d3c420a38
commit c77170a924
2 changed files with 20 additions and 28 deletions

View file

@ -790,19 +790,6 @@
]
}
},
{
"type": "org.osbuild.users",
"options": {
"users": {
"root": {
"password": ""
},
"core": {
"password": ""
}
}
}
},
{
"type": "org.osbuild.ostree.preptree",
"options": {
@ -1722,7 +1709,8 @@
"kickstart-modules": [
"org.fedoraproject.Anaconda.Modules.Network",
"org.fedoraproject.Anaconda.Modules.Payloads",
"org.fedoraproject.Anaconda.Modules.Storage"
"org.fedoraproject.Anaconda.Modules.Storage",
"org.fedoraproject.Anaconda.Modules.Users"
]
}
},
@ -1742,6 +1730,14 @@
"url": "file:///ostree/repo",
"ref": "fedora/x86_64/osbuild",
"gpg": false
},
"users": {
"core": {
"password": "edge",
"groups": [
"wheel"
]
}
}
}
}

View file

@ -171,19 +171,6 @@
]
}
},
{
"type": "org.osbuild.users",
"options": {
"users": {
"root": {
"password": ""
},
"core": {
"password": ""
}
}
}
},
{
"type": "org.osbuild.ostree.preptree",
"options": {
@ -493,7 +480,8 @@
"kickstart-modules": [
"org.fedoraproject.Anaconda.Modules.Network",
"org.fedoraproject.Anaconda.Modules.Payloads",
"org.fedoraproject.Anaconda.Modules.Storage"
"org.fedoraproject.Anaconda.Modules.Storage",
"org.fedoraproject.Anaconda.Modules.Users"
]
}
},
@ -517,6 +505,14 @@
"mpp-format-string": "{ref}"
},
"gpg": false
},
"users": {
"core": {
"password": "edge",
"groups": [
"wheel"
]
}
}
}
}