Test/fedora: add iot-container test manifests with customizations
Add `iot-container` test manifests with customizations. Specifically with files, directories and services. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
df26be35cc
commit
1c64d15a61
7 changed files with 101825 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
|
|
@ -385,6 +385,58 @@
|
|||
},
|
||||
"overrides": {}
|
||||
},
|
||||
"iot-container-customizations": {
|
||||
"compose-request": {
|
||||
"distro": "",
|
||||
"arch": "",
|
||||
"image-type": "iot-container",
|
||||
"repositories": [],
|
||||
"filename": "container.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-installer": {
|
||||
"compose-request": {
|
||||
"distro": "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue