summaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/mapping.yaml
blob: a832dc9e5670e89277b2d91cc460722f28961026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# This can be used with the -m option to override the
# default mapping of the nicN aliases in configs
# The mapping can specify either a device name or a mac address
# If --persist-mapping is specified, we write the device aliases
# config instead of the system names, e.g we actually configure
# nic1 intead of em3.  This is probably best used with --cleanup
# to remove the stale configs e.g for em3
interface_mapping:
    nic1: em3
    nic2: em1
    nic3: 12:34:56:de:f0:12
    nic4: 12:34:56:78:9a:bc