-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add tests for Fedora and RHEL 8/9 with FIPS
Add tests for Fedora and RHEL 8/9 qcow2 images with system FIPS mode enabled. Signed-off-by: Miguel Martín <[email protected]>
- Loading branch information
1 parent
715b889
commit 26c7283
Showing
2 changed files
with
188 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
{ | ||
"name": "all-with-fips", | ||
"blueprint": { | ||
"packages": [ | ||
{ | ||
"name": "bash", | ||
"version": "*" | ||
}, | ||
{ | ||
"name": "bluez", | ||
"version": "*" | ||
} | ||
], | ||
"modules": [], | ||
"groups": [ | ||
{ | ||
"name": "core" | ||
} | ||
], | ||
"customizations": { | ||
"hostname": "my-host", | ||
"kernel": { | ||
"append": "debug" | ||
}, | ||
"fips": true, | ||
"sshkey": [ | ||
{ | ||
"user": "user1", | ||
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC61wMCjOSHwbVb4VfVyl5sn497qW4PsdQ7Ty7aD6wDNZ/QjjULkDV/yW5WjDlDQ7UqFH0Sr7vywjqDizUAqK7zM5FsUKsUXWHWwg/ehKg8j9xKcMv11AkFoUoujtfAujnKODkk58XSA9whPr7qcw3vPrmog680pnMSzf9LC7J6kXfs6lkoKfBh9VnlxusCrw2yg0qI1fHAZBLPx7mW6+me71QZsS6sVz8v8KXyrXsKTdnF50FjzHcK9HXDBtSJS5wA3fkcRYymJe0o6WMWNdgSRVpoSiWaHHmFgdMUJaYoCfhXzyl7LtNb3Q+Sveg+tJK7JaRXBLMUllOlJ6ll5Hod root@localhost" | ||
} | ||
], | ||
"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 | ||
}, | ||
{ | ||
"name": "user3", | ||
"uid": 1060, | ||
"gid": 1060 | ||
} | ||
], | ||
"group": [ | ||
{ | ||
"name": "group1", | ||
"gid": 1030 | ||
}, | ||
{ | ||
"name": "group2", | ||
"gid": 1050 | ||
}, | ||
{ | ||
"name": "user3", | ||
"gid": 1060 | ||
} | ||
], | ||
"timezone": { | ||
"timezone": "Europe/London", | ||
"ntpservers": [ | ||
"time.example.com" | ||
] | ||
}, | ||
"locale": { | ||
"languages": [ | ||
"el_CY.UTF-8" | ||
], | ||
"keyboard": "dvorak" | ||
}, | ||
"services": { | ||
"enabled": [ | ||
"sshd.service", | ||
"custom.service" | ||
], | ||
"disabled": [ | ||
"bluetooth.service" | ||
] | ||
}, | ||
"filesystem": [ | ||
{ | ||
"mountpoint": "/home", | ||
"minsize": 2147483648 | ||
}, | ||
{ | ||
"mountpoint": "/home/shadowman", | ||
"minsize": "500MiB" | ||
}, | ||
{ | ||
"mountpoint": "/foo", | ||
"minsize": "1GiB" | ||
}, | ||
{ | ||
"mountpoint": "/usr", | ||
"minsize": "4GiB" | ||
}, | ||
{ | ||
"mountpoint": "/opt", | ||
"minsize": "1GiB" | ||
}, | ||
{ | ||
"mountpoint": "/media", | ||
"minsize": "1GiB" | ||
}, | ||
{ | ||
"mountpoint": "/root", | ||
"minsize": "1GiB" | ||
}, | ||
{ | ||
"mountpoint": "/srv", | ||
"minsize": "1GiB" | ||
}, | ||
{ | ||
"mountpoint": "/mnt", | ||
"minsize": "1GiB" | ||
} | ||
], | ||
"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 | ||
} | ||
], | ||
"repositories": [ | ||
{ | ||
"id": "example", | ||
"name": "Example repo", | ||
"baseurls": [ | ||
"https://example.com/download/yum" | ||
], | ||
"gpgcheck": true, | ||
"enabled": true, | ||
"repo_gpgcheck": false, | ||
"gpgkeys": [ | ||
"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nmQGiBGRBSJURBACzCoe9UNfxOUiFLq9b60we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