aboutsummaryrefslogtreecommitdiffstats
path: root/util/docker-compose/roles
diff options
context:
space:
mode:
Diffstat (limited to 'util/docker-compose/roles')
-rwxr-xr-xutil/docker-compose/roles/cobbler/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/docker-compose/roles/cobbler/tasks/main.yml b/util/docker-compose/roles/cobbler/tasks/main.yml
index 0a30e0c5..e4e2cf30 100755
--- a/util/docker-compose/roles/cobbler/tasks/main.yml
+++ b/util/docker-compose/roles/cobbler/tasks/main.yml
@@ -102,7 +102,7 @@
# - ubuntu-16.04-server-arm-arm64-arm
# Kickstart meta url name
# - http://x.x.x.x/cobbler/ks_mirror/CentOS-7-Minimal-1611-arm
- # - http://x.x.x.x/cobbler/ks_mirror/ubuntu-16.04-server-arm-arm64
+ # - http://x.x.x.x/cobbler/ks_mirror/ubuntu-16.04-server-arm
name="{{ item.value.cobbler_name }}-arm"
profiles=`docker exec compass-cobbler bash -c \
"cobbler profile list | grep $name"`
@@ -112,7 +112,7 @@
--name $profile_name \
--name-servers '' \
--repos {{ item.value.ppa_name }} \
- --ksmeta \"tree=http://{{ host_ip }}/cobbler/ks_mirror/${profile_name%????}\" \
+ --ksmeta \"tree=http://{{ host_ip }}/cobbler/ks_mirror/$name\" \
--kopts \"{{ item.value.kopts | default('') }}\" \
--kopts-post \"{{ item.value.kopts_post | default('') }}\""
done