aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/interface.yaml
blob: 4f76e07c2684ab1d583ba1b35c565615d7279317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
network_config:
  -
    type: interface
    name: em1
    use_dhcp: false
    addresses:
    -
      ip_netmask: 192.0.2.1/24
    routes:
      -
        ip_netmask: 0.0.0.0/0
        next_hop: 192.0.2.254
        default: true
  -
    type: interface
    name: em2
    use_dhcp: true
    defroute: no