Skip to content

Instantly share code, notes, and snippets.

@rdeusser
Last active December 13, 2015 03:09
Show Gist options
  • Save rdeusser/17ddb3bb6d475559b2a6 to your computer and use it in GitHub Desktop.
Save rdeusser/17ddb3bb6d475559b2a6 to your computer and use it in GitHub Desktop.
Example NIC team
#cloud-config
coreos:
update:
reboot-strategy: best-effort
units:
- name: fleet.service
command: start
- name: static.network
command: start
content: |
[Match]
Name=bond0
[Network]
Address=192.168.1.5/26
Gateway=192.168.1.1
DNS=8.8.8.8
DNS=8.8.4.4
- name: nic1.network
command: start
content: |
[Match]
Name=enp4s0f0
[Network]
Bond=bond0
- name: nic2.network
command: start
content: |
[Match]
Name=enp4s0f1
[Network]
Bond=bond0
- name: virtual.netdev
command: start
content: |
[NetDev]
Name=bond0
Kind=bond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment