#!/bin/bash## kola:## tags: needs-internet## description: Verify Ignition supports remote config.# See https://bugzilla.redhat.com/show_bug.cgi?id=1980679# remote.ign is on github, inject kernelArguments and write# something to /etc/testfile.# config.ign is to include remote kargsfile.ign.set -xeuo pipefail# shellcheck disable=SC1091. "$KOLA_EXT_DATA/commonlib.sh"if ! grep -q foobar /proc/cmdline; thenfatal "missing foobar in kernel cmdline"elseok "find foobar in kernel cmdline"fiif ! test -e /etc/testfile; thenfatal "not found /etc/testfile"elseok "find expected file /etc/testfile"fiok "Ignition remote config test"