add script to test the kickstart file(s)
This commit is contained in:
parent
8dedc08416
commit
36556227aa
11
test-kickstart-file.sh
Executable file
11
test-kickstart-file.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
KICKSTART_FILE=Rocky-9-aarch64-minimal.ks
|
||||||
|
VERSION=RHEL9
|
||||||
|
|
||||||
|
if ! command -v ksvalidator > /dev/null; then
|
||||||
|
>&2 echo "$0: error: unable to find command 'ksvalidator'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
ksvalidator --followincludes --version "${VERSION}" "${KICKSTART_FILE}"
|
Loading…
Reference in New Issue
Block a user