Skip to content

Commit

Permalink
Don't remove resolv.conf symbolic link
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Apr 20, 2022
1 parent c01fb5b commit 59f260b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions export-image/03-finalise/00-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ rm -v -f "${ROOTFS_DIR}/etc/ssl/certs/ssl-cert-snakeoil.pem"
rm -v -f "${ROOTFS_DIR}/etc/ssl/private/ssl-cert-snakeoil.key"
rm -v -f "${ROOTFS_DIR}/etc/ssh/ssh_host_"*"_key"*

# Remove resolver configuration
rm -v -f "${ROOTFS_DIR}/etc/resolv.conf"

ROOT_DEV="$(mount | grep "${ROOTFS_DIR} " | cut -f1 -d' ')"

unmount "${ROOTFS_DIR}"
Expand Down

0 comments on commit 59f260b

Please sign in to comment.