We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc6798e commit dc7d1a8Copy full SHA for dc7d1a8
etc/kayobe/ansible/scripts/aio-init.sh
@@ -139,4 +139,9 @@ if ! $KOLLA_OPENSTACK_COMMAND flavor list | grep -q m1.tiny; then
139
$KOLLA_OPENSTACK_COMMAND flavor create --id 5 --ram 16384 --disk 160 --vcpus 8 m1.xlarge
140
fi
141
142
+# Configure IP routing and NAT to allow VMs to reach the outside world
143
+iface=$(ip route | awk '$1 == "default" {print $5; exit}')
144
+sudo iptables -A POSTROUTING -t nat -o $iface -j MASQUERADE
145
+sudo sysctl -w net.ipv4.conf.all.forwarding=1
146
+
147
touch /tmp/.init-runonce
0 commit comments