-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/fs-customization:added edge-simplified-installer
Seperated filesystem customization test for edge-simplified-installer Simplified installer require installation_device customization which is not supported by other image types, so a seprate test is added to the CI. Removed edge-ami boot-test from CI as the create-mountpoints.service is bound to fail on firstboot as the mountpoints will already exist. Signed-off-by: Sayan Paul <[email protected]>
- Loading branch information
Showing
2 changed files
with
67 additions
and
2 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
54 changes: 54 additions & 0 deletions
54
test/configs/ostree-filesystem-customizations-installer.json
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,54 @@ | ||
{ | ||
"name": "ostree-filesystem-customizations-installer", | ||
"ostree": { | ||
"url": "http://example.com/repo" | ||
}, | ||
"blueprint": { | ||
"customizations": { | ||
"user": [ | ||
{ | ||
"groups": [ | ||
"wheel" | ||
], | ||
"key": "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNebAh6SjpAn8wB53K4695cGnHGuCtl4RdaX3futZgJUultHyzeYHnzMO7d4++qnRL+Rworew62LKP560uvtncc= github.com/osbuild/images", | ||
"name": "osbuild" | ||
} | ||
], | ||
"installation_device": "/dev/vda", | ||
"filesystem": [ | ||
{ | ||
"mountpoint": "/foo", | ||
"minsize": "2147483648" | ||
}, | ||
{ | ||
"mountpoint": "/foo/bar", | ||
"minsize": "2 GiB" | ||
}, | ||
{ | ||
"mountpoint": "/root", | ||
"minsize": "1 GiB" | ||
}, | ||
{ | ||
"mountpoint": "/mnt", | ||
"minsize": "3 GiB" | ||
}, | ||
{ | ||
"mountpoint": "/srv", | ||
"minsize": "4 GiB" | ||
}, | ||
{ | ||
"mountpoint": "/opt", | ||
"minsize": "1 GiB" | ||
}, | ||
{ | ||
"mountpoint": "/var/mydata", | ||
"minsize": "1 GiB" | ||
} | ||
] | ||
} | ||
}, | ||
"depends": { | ||
"image-type": "edge-container", | ||
"config": "empty.json" | ||
} | ||
} |