distro: allow user and group customizations for iot-installer

This commit is contained in:
Jordi Gil 2022-04-13 11:09:48 -04:00 committed by Tomáš Hozza
parent 6c11c27c48
commit 00a84d1fdc
14 changed files with 111395 additions and 121 deletions

View file

@ -292,6 +292,52 @@
"no-image-info": true,
"overrides": {}
},
"fedora-iot-installer-with-users": {
"compose-request": {
"distro": "",
"arch": "",
"image-type": "fedora-iot-installer",
"repositories": [],
"filename": "installer.iso",
"ostree": {
"ref": "test/iot",
"url": "http://iot.example.com/repo",
"parent": "test/iot"
},
"blueprint": {
"name": "iot-installer-users",
"customizations": {
"user": [
{
"name": "user2",
"description": "description 2",
"password": "$6$BhyxFBgrEFh0VrPJ$MllG8auiU26x2pmzL4.1maHzPHrA.4gTdCvlATFp8HJU9UPee4zCS9BVl2HOzKaUYD/zEm8r/OF05F2icWB0K/",
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC61wMCjOSHwbVb4VfVyl5sn497qW4PsdQ7Ty7aD6wDNZ/QjjULkDV/yW5WjDlDQ7UqFH0Sr7vywjqDizUAqK7zM5FsUKsUXWHWwg/ehKg8j9xKcMv11AkFoUoujtfAujnKODkk58XSA9whPr7qcw3vPrmog680pnMSzf9LC7J6kXfs6lkoKfBh9VnlxusCrw2yg0qI1fHAZBLPx7mW6+me71QZsS6sVz8v8KXyrXsKTdnF50FjzHcK9HXDBtSJS5wA3fkcRYymJe0o6WMWNdgSRVpoSiWaHHmFgdMUJaYoCfhXzyl7LtNb3Q+Sveg+tJK7JaRXBLMUllOlJ6ll5Hod root@localhost",
"home": "/home/home2",
"shell": "/bin/sh",
"groups": [
"group1"
],
"uid": 1020,
"gid": 1050
}
],
"group": [
{
"name": "group1",
"gid": 1030
},
{
"name": "group2",
"gid": 1050
}
]
}
}
},
"no-image-info": true,
"overrides": {}
},
"openstack": {
"boot": {
"type": "openstack"