cmd-run: Nest base64 goop under Ignition writing
There's no point in converting the sysctl bit to base64 if we were
provided an Ignition config.
@@ -101,6 +101,7 @@ else
ign_var_srv_mount=""
fi
+if [ -z "${IGNITION_CONFIG_FILE:-}" ]; then
coreos_assembler_sysctl=$(cat << 'EOF' | base64 --wrap 0
# Written during `coreos-assembler run`.
@@ -112,7 +113,6 @@ kernel.printk = 3 4 1 7
EOF
)
-if [ -z "${IGNITION_CONFIG_FILE:-}" ]; then
f=$(mktemp)
cat > "${f}" <<EOF
{
