fickit: frontend has 4 eth cards

This commit is contained in:
nemunaire 2019-12-16 14:46:25 +01:00
parent f078919459
commit bea31faa8e
1 changed files with 3 additions and 1 deletions

View File

@ -51,15 +51,17 @@ onboot:
# - name: eth1
# - name: eth2
# - name: eth3
# - name: eth4
- name: frontal-ip-setup # with bonding
image: linuxkit/ip:v0.6
command: ["/bin/sh", "-c", "ip link set bond-frontal up; ifenslave bond-frontal eth1 eth2 eth3; ip a add 172.23.42.1/24 dev bond-frontal; ip a add 163.5.55.58/32 dev bond-frontal; ip link add link bond-frontal name internet type vlan id 1; ip link set internet up;" ]
command: ["/bin/sh", "-c", "ip link set bond-frontal up; ifenslave bond-frontal eth1 eth2 eth3 eth4; ip a add 172.23.42.1/24 dev bond-frontal; ip a add 163.5.55.58/32 dev bond-frontal; ip link add link bond-frontal name internet type vlan id 1; ip link set internet up;" ]
net: /run/netns/nginx
runtime:
interfaces:
- name: eth1
- name: eth2
- name: eth3
- name: eth4
- name: bond-frontal
add: bond
- name: frontend-ip-setup