Use Trusty sources for any 14.04 build
Change-Id: I42b2a63b899cd1254669569dee04f0821cb08ba0
This commit is contained in:
parent
eb8da37a36
commit
1b40ea4cf3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user