aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/os-net-config/samples/mapping.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/mapping.yaml b/etc/os-net-config/samples/mapping.yaml
index 5faec22..a832dc9 100644
--- a/etc/os-net-config/samples/mapping.yaml
+++ b/etc/os-net-config/samples/mapping.yaml
@@ -1,6 +1,10 @@
# 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