From 32d786e786e2caf2ba9704bf55562e65b1a4e70c Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 5 Jun 2024 10:35:44 +0800 Subject: tools: correct resolv.conf filename for nameserver configuration Signed-off-by: Richard Smith --- tools/create-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/create-image.sh') diff --git a/tools/create-image.sh b/tools/create-image.sh index 4d2b3458c..4afbbfbc9 100755 --- a/tools/create-image.sh +++ b/tools/create-image.sh @@ -172,7 +172,7 @@ echo 'securityfs /sys/kernel/security securityfs defaults 0 0' | sudo tee -a $DI echo 'configfs /sys/kernel/config/ configfs defaults 0 0' | sudo tee -a $DIR/etc/fstab echo 'binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0' | sudo tee -a $DIR/etc/fstab echo -en "127.0.0.1\tlocalhost\n" | sudo tee $DIR/etc/hosts -echo "nameserver 8.8.8.8" | sudo tee -a $DIR/etc/resolve.conf +echo "nameserver 8.8.8.8" | sudo tee -a $DIR/etc/resolv.conf echo "syzkaller" | sudo tee $DIR/etc/hostname ssh-keygen -f $RELEASE.id_rsa -t rsa -N '' sudo mkdir -p $DIR/root/.ssh/ -- cgit mrf-deployment