v0.0.20
This commit is contained in:
21
templates/interfaces.j2
Normal file
21
templates/interfaces.j2
Normal file
@@ -0,0 +1,21 @@
|
||||
# This file describes the network interfaces available on your system
|
||||
# and how to activate them. For more information, see interfaces(5).
|
||||
|
||||
source /etc/network/interfaces.d/*
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# Libvirt networks
|
||||
{% for network in libvirt_networks %}
|
||||
{% if network.bridge.dev is defined %}
|
||||
auto {{ network.bridge.dev }}
|
||||
iface {{ network.bridge.dev }} inet manual
|
||||
|
||||
auto {{ network.bridge.name }}
|
||||
iface {{ network.bridge.name }} inet dhcp
|
||||
bridge_ports {{ network.bridge.dev }}
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user