Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #267 from bgilbert/ignition
Browse files Browse the repository at this point in the history
coreos-install: write Ignition config to magic OEM path
  • Loading branch information
bgilbert committed May 15, 2018
2 parents 485860b + 5d93f37 commit 85a3581
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/coreos-install
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,7 @@ function write_ignition() if [[ -n "${IGNITION}" ]]; then
trap 'umount "${WORKDIR}/oemfs"' RETURN

echo "Installing Ignition config ${IGNITION}..."
cp "${IGNITION}" "${WORKDIR}/oemfs/coreos-install.json"
echo 'set linux_append="$linux_append coreos.config.url=oem:///coreos-install.json"' >> "${WORKDIR}/oemfs/grub.cfg"
cp "${IGNITION}" "${WORKDIR}/oemfs/config.ign"
fi

WORKDIR=$(mktemp --tmpdir -d coreos-install.XXXXXXXXXX)
Expand Down

0 comments on commit 85a3581

Please sign in to comment.