aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create-gce-image.sh
diff options
context:
space:
mode:
authorRichard Smith <happyercat@gmail.com>2024-06-05 10:35:44 +0800
committerDmitry Vyukov <dvyukov@google.com>2024-06-05 09:50:23 +0000
commit32d786e786e2caf2ba9704bf55562e65b1a4e70c (patch)
tree928d38681068ef96056e5173ca305a046dc03f95 /tools/create-gce-image.sh
parente2dee74923d168c188f25fb11f1e254fdc759e93 (diff)
tools: correct resolv.conf filename for nameserver configuration
Signed-off-by: Richard Smith <happyercat@gmail.com>
Diffstat (limited to 'tools/create-gce-image.sh')
-rwxr-xr-xtools/create-gce-image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create-gce-image.sh b/tools/create-gce-image.sh
index 2e16ced84..39d01c2e3 100755
--- a/tools/create-gce-image.sh
+++ b/tools/create-gce-image.sh
@@ -139,7 +139,7 @@ if [ "$SYZ_SYSCTL_FILE" != "" ]; then
fi
echo -en "127.0.0.1\tlocalhost\n" | sudo tee disk.mnt/etc/hosts
-echo "nameserver 8.8.8.8" | sudo tee -a disk.mnt/etc/resolve.conf
+echo "nameserver 8.8.8.8" | sudo tee -a disk.mnt/etc/resolv.conf
echo "syzkaller" | sudo tee disk.mnt/etc/hostname
sudo mkdir -p disk.mnt/boot/grub