From 2774e3141ec319be39a6c37dabae5b30d5e43b6b Mon Sep 17 00:00:00 2001 From: "chenshuai@huawei.com" Date: Sun, 10 Jul 2016 22:38:31 -0400 Subject: Improvement: add xenial into make_repo.sh JIRA: COMPASS-431 Change-Id: I010c3df11bd7fe1fec6ad8034a0ae67bb3e84ac7 Signed-off-by: chenshuai@huawei.com --- deploy/adapters/cobbler/snippets/preseed_post_install_network_config | 2 ++ 1 file changed, 2 insertions(+) (limited to 'deploy/adapters/cobbler/snippets/preseed_post_install_network_config') 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 -- cgit 1.2.3-korg