diff options
| author | Richard Smith <happyercat@gmail.com> | 2024-06-05 10:35:44 +0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-06-05 09:50:23 +0000 |
| commit | 32d786e786e2caf2ba9704bf55562e65b1a4e70c (patch) | |
| tree | 928d38681068ef96056e5173ca305a046dc03f95 /tools/create-image.sh | |
| parent | e2dee74923d168c188f25fb11f1e254fdc759e93 (diff) | |
tools: correct resolv.conf filename for nameserver configuration
Signed-off-by: Richard Smith <happyercat@gmail.com>
Diffstat (limited to 'tools/create-image.sh')
| -rwxr-xr-x | tools/create-image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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/ |
