summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Delva <adelva@google.com>2021-04-09 12:54:48 -0700
committerAlistair Delva <adelva@google.com>2021-06-29 18:18:46 +0000
commit34b9e9ab6870c7abcfd0f883e920ace4b6f7a46a (patch)
treee57300b2f455e39954c2bd6d695ff423ef1486dd
parent82413484a6b925a397b08bdde8ddf7deb00cd8b6 (diff)
downloadtests-34b9e9ab6870c7abcfd0f883e920ace4b6f7a46a.tar.gz
Rename the image from vm to debian
The existing use was really UML, and not necessarily a VM, and future uses may be on physical devices. Use a more neutral name. Change-Id: Ib735bb3e55c780a71322967db9d66b419a8cea71
-rw-r--r--net/test/rootfs/common.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/test/rootfs/common.sh b/net/test/rootfs/common.sh
index 172d9b6..88dc7fc 100644
--- a/net/test/rootfs/common.sh
+++ b/net/test/rootfs/common.sh
@@ -39,7 +39,8 @@ EOF
ln -sf ../proc/self/mounts /etc/mtab
# Remove contaminants coming from the debootstrap process
- echo vm >/etc/hostname
+ echo "127.0.1.1 debian" >>/etc/hosts
+ echo debian >/etc/hostname
echo "nameserver 127.0.0.1" >/etc/resolv.conf
# Put the helper net_test.sh script into place