Skip to content

Commit

Permalink
15coreos-network: Remove 15-coreos-firstboot-network.conf
Browse files Browse the repository at this point in the history
coreos#659 attempts to
mount `/boot` read-only. `15-coreos-firstboot-network.conf`'s job
should be handled by `ignition-firstboot-complete.service` which
remounts writable (privately/temporarily) `/boot` from the real root.
  • Loading branch information
kelvinfan001 committed Nov 13, 2020
1 parent 18530d1 commit 0a1a5d7
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ if [ -n "$(ls -A ${initramfs_firstboot_network_dir} 2>/dev/null)" ]; then
echo "info: copying files from ${initramfs_firstboot_network_dir} to ${initramfs_network_dir}"
mkdir -p ${initramfs_network_dir}
cp -v ${initramfs_firstboot_network_dir}/* ${initramfs_network_dir}/
# If we make it to the realroot (successfully ran ignition) then
# clean up the files in the firstboot network dir
echo "R ${realroot_firstboot_network_dir} - - - - -" > \
/run/tmpfiles.d/15-coreos-firstboot-network.conf
else
echo "info: no files to copy from ${initramfs_firstboot_network_dir}. skipping"
fi

0 comments on commit 0a1a5d7

Please sign in to comment.