aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/preseed_post_install_network_config
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/cobbler/snippets/preseed_post_install_network_config')
-rw-r--r--deploy/adapters/cobbler/snippets/preseed_post_install_network_config2
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy/adapters/cobbler/snippets/preseed_post_install_network_config b/deploy/adapters/cobbler/snippets/preseed_post_install_network_config
index 3e577830..cb79c556 100644
--- a/deploy/adapters/cobbler/snippets/preseed_post_install_network_config
+++ b/deploy/adapters/cobbler/snippets/preseed_post_install_network_config
@@ -53,6 +53,8 @@ for physical_interface in \${physical_interfaces}; do
set \$(ip link show \${physical_interface})
#if $osversion == "trusty"
mac=\$(echo \$@ | cut -d' ' -f17)
+#elif $osversion == "xenial"
+ mac=\$(echo \$@ | cut -d' ' -f17)
#else
mac=\$(echo \$@ | cut -d' ' -f13)
#end if