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:
parent
e16fdeb7ed
commit
df26be35cc
7 changed files with 82165 additions and 0 deletions
File diff suppressed because it is too large
Load diff
13836
test/data/manifests/fedora_36-x86_64-iot_commit_customizations-boot.json
Normal file
13836
test/data/manifests/fedora_36-x86_64-iot_commit_customizations-boot.json
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
14037
test/data/manifests/fedora_37-x86_64-iot_commit_customizations-boot.json
Normal file
14037
test/data/manifests/fedora_37-x86_64-iot_commit_customizations-boot.json
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
13623
test/data/manifests/fedora_38-x86_64-iot_commit_customizations-boot.json
Normal file
13623
test/data/manifests/fedora_38-x86_64-iot_commit_customizations-boot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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": "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue