From 3ede18e758c77b31e56ca9164dbeb8e06b0223b5 Mon Sep 17 00:00:00 2001 From: Yibo Cai Date: Wed, 4 Apr 2018 14:06:34 +0800 Subject: cobbler: support deploying ubuntu on arm Deploy ubuntu by setting ADAPTER_OS_PATTERN='(?i)ubuntu-16.*arm.*' and OS_VERSION=xenial. Change-Id: I1035a2d45225fceab6eead35d77d98130def373b Signed-off-by: Yibo Cai --- util/docker-compose/roles/cobbler/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/docker-compose/roles/cobbler/tasks/main.yml') 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 -- cgit 1.2.3-korg