From 1b40ea4cf32d831440d3169a05b4bb11d6d9297e Mon Sep 17 00:00:00 2001 From: Melissa Kam Date: Fri, 17 Feb 2017 09:55:09 -0600 Subject: [PATCH] Use Trusty sources for any 14.04 build Change-Id: I42b2a63b899cd1254669569dee04f0821cb08ba0 --- multi-node-aio/setup-cobbler.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi-node-aio/setup-cobbler.sh b/multi-node-aio/setup-cobbler.sh index 3b033a9a..33ddeec1 100755 --- a/multi-node-aio/setup-cobbler.sh +++ b/multi-node-aio/setup-cobbler.sh @@ -61,7 +61,7 @@ chown www-data /var/lib/cobbler/webui_sessions cp -v templates/dhcp.template /etc/cobbler/dhcp.template # Create a sources.list file -if [[ "14.04.4" == $DEFAULT_IMAGE ]]; then +if [[ $DEFAULT_IMAGE == "14.04."* ]]; then cp -v templates/trusty-sources.list /var/www/html/trusty-sources.list else cp -v templates/xenial-sources.list /var/www/html/xenial-sources.list