Test/fedora: add iot-commit test manifests with customizations

Add `iot-commit` test manifests with customizations. Specifically with
files, directories and services.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2023-02-10 21:48:26 +01:00 committed by Sanne Raymaekers
parent e16fdeb7ed
commit df26be35cc
7 changed files with 82165 additions and 0 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -322,6 +322,58 @@
"x86_64"
]
},
"iot-commit-customizations": {
"compose-request": {
"distro": "",
"arch": "",
"image-type": "iot-commit",
"repositories": [],
"filename": "commit.tar",
"blueprint": {
"customizations": {
"directories": [
{
"path": "/etc/systemd/system/custom.service.d"
},
{
"path": "/etc/custom_dir",
"mode": "0770",
"user": 1020,
"group": 1050
}
],
"files": [
{
"path": "/etc/systemd/system/custom.service",
"data": "[Unit]\nDescription=Custom service\n\n[Service]\nExecStart=/usr/bin/false\n\n[Install]\nWantedBy=multi-user.target\n"
},
{
"path": "/etc/systemd/system/custom.service.d/override.conf",
"data": "[Service]\nExecStart=\nExecStart=/usr/bin/cat /etc/custom_file.txt\n"
},
{
"path": "/etc/custom_file.txt",
"data": "image builder is the best",
"mode": "0644",
"user": "root",
"group": "root"
},
{
"path": "/etc/empty_file.txt",
"user": 0,
"group": 0
}
],
"services": {
"enabled": [
"custom.service"
]
}
}
}
},
"overrides": {}
},
"iot-container": {
"compose-request": {
"distro": "",