X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=roles%2Fbootstrap-host%2Ftemplates%2Fredhat_interface_default.cfg.j2;fp=roles%2Fbootstrap-host%2Ftemplates%2Fredhat_interface_default.cfg.j2;h=416bfbe9120ffb34f71380cdd0d6c159a2cb46d6;hb=74a49ba6ef2ea715fa492db0bcd85c30398688e8;hp=0000000000000000000000000000000000000000;hpb=a936af362724cca0c5dc2c424902d398f9833410;p=ta%2Finfra-ansible.git diff --git a/roles/bootstrap-host/templates/redhat_interface_default.cfg.j2 b/roles/bootstrap-host/templates/redhat_interface_default.cfg.j2 new file mode 100644 index 0000000..416bfbe --- /dev/null +++ b/roles/bootstrap-host/templates/redhat_interface_default.cfg.j2 @@ -0,0 +1,11 @@ +{% if item.veth_peer is defined %} +# This interface has a veth peer +{% endif %} +DEVICE={{ item.name | default('br-mgmt') }} +TYPE=Bridge +IPADDR={{ item.ip_addr | default('10.1.0.1') }} +NETMASK={{ item.netmask | default('255.255.255.0') }} +ONBOOT=yes +BOOTPROTO=none +NM_CONTROLLED=no +DELAY=0