summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-07-10 22:38:31 -0400
committerchenshuai@huawei.com <chenshuai@huawei.com>2016-07-11 02:34:23 -0400
commit2774e3141ec319be39a6c37dabae5b30d5e43b6b (patch)
tree72b0ebe494c4d76dd33ba998daabe2485e43fc00 /deploy/adapters/cobbler
parent407ad32e7541fc21773f23bbff790775ffa8af8e (diff)
Improvement: add xenial into make_repo.sh
JIRA: COMPASS-431 Change-Id: I010c3df11bd7fe1fec6ad8034a0ae67bb3e84ac7 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/cobbler')
-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