mirror of https://github.com/apache/cloudstack.git
IPv6: Add IPv6 address to router in /etc/hosts
This commit is contained in:
parent
f21a0c6f44
commit
c57b03d7dc
|
|
@ -738,7 +738,8 @@ setup_dhcpsrvr() {
|
|||
fi
|
||||
|
||||
sed -i /gateway/d /etc/hosts
|
||||
echo "$ETH0_IP $NAME" >> /etc/hosts
|
||||
[ $ETH0_IP ] && echo "$ETH0_IP $NAME" >> /etc/hosts
|
||||
[ $ETH0_IP6 ] && echo "$ETH0_IP6 $NAME" >> /etc/hosts
|
||||
|
||||
enable_svc dnsmasq 1
|
||||
enable_svc haproxy 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue