summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-compute/templates/ifcfg-br-external
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/config-compute/templates/ifcfg-br-external')
-rw-r--r--deploy/adapters/ansible/roles/config-compute/templates/ifcfg-br-external11
1 files changed, 11 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-compute/templates/ifcfg-br-external b/deploy/adapters/ansible/roles/config-compute/templates/ifcfg-br-external
new file mode 100644
index 00000000..511c0db8
--- /dev/null
+++ b/deploy/adapters/ansible/roles/config-compute/templates/ifcfg-br-external
@@ -0,0 +1,11 @@
+DEVICE=br-external
+TYPE=Bridge
+IPADDR={{ ip_settings[inventory_hostname]["external"]["ip"] }}
+PREFIX=24
+GATEWAY={{ ip_settings[inventory_hostname]["external"]["gw"] }}
+BOOTPROTO=none
+ONBOOT=yes
+DELAY=0
+DEFROUTE="yes"
+DNS1=8.8.8.8
+DNS2=8.8.4.4