Update test/cases/ostree-ng.sh

Co-authored-by: Jakub Rusz <55534579+jrusz@users.noreply.github.com>
This commit is contained in:
Alexander Todorov 2022-08-02 18:20:01 +03:00 committed by Jakub Rusz
parent ab510764c2
commit d176df2ca5

View file

@ -195,7 +195,7 @@ ostree remote add --no-gpg-verify --no-sign-verify ${OSTREE_OSNAME} ${PROD_REPO_
EOFKS
echo "Writing new ISO"
if [ "${ID}" != "fedora" && nvrGreaterOrEqual "lorax" "34.9.18" ]; then
if [ "${ID}" != "fedora" ] && nvrGreaterOrEqual "lorax" "34.9.18"; then
sudo mkksiso -c "console=ttyS0,115200" --ks "${newksfile}" "${iso}" "${newiso}"
else
sudo mkksiso -c "console=ttyS0,115200" "${newksfile}" "${iso}" "${newiso}"