Set static global IPv4 for ariane

This commit is contained in:
Daniel A. Maierhofer
2018-10-29 23:16:47 +01:00
parent 237793ec6f
commit 2bebc9f360
2 changed files with 35 additions and 13 deletions

View File

@@ -9,13 +9,29 @@ common_iptables_v6: "iptables_ariane_v6.j2"
lxc:
containers:
- name: sputnik
revision: "01"
template: voidlinux
config:
- lxc.network.type = veth
- lxc.network.hwaddr = 2e:6d:b6:07:13:01
- lxc.network.link = br1
- lxc.network.flags = up
- lxc.network.1.type = veth
- lxc.network.1.hwaddr = 00:50:fc:ce:1b:c3
- lxc.network.1.link = br0
- lxc.network.1.flags = up
- lxc.network.1.ipv4 = 128.131.95.206/24
- lxc.network.1.ipv4.gateway = 128.131.95.1
- name: laika
revision: "01"
template: debian
config:
- lxc.network.type = veth
- lxc.network.hwaddr = 1c:bd:b9:7f:fe:a4
- lxc.network.link = br0
- lxc.network.link = br1
- lxc.network.flags = up
- name: betam
@@ -24,7 +40,7 @@ lxc:
config:
- lxc.network.type = veth
- lxc.network.hwaddr = 2e:6d:b6:07:14:01
- lxc.network.link = br0
- lxc.network.link = br1
- lxc.network.flags = up
- lxc.cgroup.devices.allow = c 188:0 rwm
@@ -34,7 +50,7 @@ lxc:
config:
- lxc.network.type = veth
- lxc.network.hwaddr = 2e:6d:b6:07:15:01
- lxc.network.link = br0
- lxc.network.link = br1
- lxc.network.flags = up
- lxc.pts = 6
@@ -44,7 +60,7 @@ lxc:
config:
- lxc.network.type = veth
- lxc.network.hwaddr = 2e:6d:b6:07:19:01
- lxc.network.link = br0
- lxc.network.link = br1
- lxc.network.flags = up
- lxc.pts = 6
- lxc.mount.entry = /zv1/daten/Scans /var/lib/lxc/lxc-progress-01/rootfs/mnt/scans none bind,create=dir 0 0
@@ -55,7 +71,7 @@ lxc:
config:
- lxc.network.type = veth
- lxc.network.hwaddr = 2e:6d:b6:07:17:01
- lxc.network.link = br0
- lxc.network.link = br1
- lxc.network.flags = up
- lxc.pts = 6
- lxc.mount.entry = /zv1/sojus /var/lib/lxc/lxc-sojus-01/rootfs/home/backup/repos none bind,create=dir 0 0
@@ -66,7 +82,7 @@ lxc:
config:
- lxc.network.type = veth
- lxc.network.hwaddr = 2e:6d:b6:07:16:01
- lxc.network.link = br0
- lxc.network.link = br1
- lxc.network.flags = up
common_zfs: True