Commit 62134dd0 authored by glucas's avatar glucas

Ganeti - hosts hook - add VM's name in /etc/hosts

parent 68e02438
......@@ -33,10 +33,10 @@ fi
cat > $TARGET/etc/hosts <<EOF
127.0.0.1 localhost localhost.localdomain
127.0.0.1 localhost localhost.localdomain $INSTANCE_NAME
# The following lines are desirable for IPv6 capable hosts
::1 localhost localhost.localdomain ip6-localhost ip6-loopback
::1 localhost localhost.localdomain ip6-localhost ip6-loopback $INSTANCE_NAME
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment