Ubuntu Xenial Image do not get ipv6 address on boot.
I think is because eth0 do not exist and is not guarantee to exist on different linux distributions
IP=$(scw-metadata --cached IPV6_ADDRESS)
GW=$(scw-metadata --cached IPV6_GATEWAY)
MASK=$(scw-metadata --cached IPV6_NETMASK)
run ip -6 addr add dev eth0 $IP/$MASK
run ip -6 route add default via $GW
Assume eth0, while ip a show ens2
Ubuntu Xenial Image do not get ipv6 address on boot.
I think is because eth0 do not exist and is not guarantee to exist on different linux distributions
Assume eth0, while
ip ashow ens2