diff options
Diffstat (limited to 'export-image')
-rwxr-xr-x | export-image/02-network/01-run.sh | 5 | ||||
-rw-r--r-- | export-image/02-network/files/resolv.conf | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/export-image/02-network/01-run.sh b/export-image/02-network/01-run.sh index 4150732..5deac86 100755 --- a/export-image/02-network/01-run.sh +++ b/export-image/02-network/01-run.sh @@ -1,3 +1,6 @@ #!/bin/bash -e -install -m 644 files/resolv.conf "${ROOTFS_DIR}/etc/" +# cleanup resolv.conf +rm -f "${ROOTFS_DIR}/etc/resolv.conf" +touch "${ROOTFS_DIR}/etc/resolv.conf" +chmod 644 "${ROOTFS_DIR}/etc/resolv.conf" diff --git a/export-image/02-network/files/resolv.conf b/export-image/02-network/files/resolv.conf deleted file mode 100644 index cae093a..0000000 --- a/export-image/02-network/files/resolv.conf +++ /dev/null @@ -1 +0,0 @@ -nameserver 8.8.8.8 |