Rework install script to use functions from gerrit
To avoid exceeding configdrive limit move download functons
as a library from gerrit.
Related-Prod: PRODX-3456
Change-Id: I38c8dbff5818fd3362e653ad8b1caa913580d1ec
diff --git a/de/heat-templates/fragments/SrvInstancesVMCeph.yaml b/de/heat-templates/fragments/SrvInstancesVMCeph.yaml
index 0e3a99d..320b564 100644
--- a/de/heat-templates/fragments/SrvInstancesVMCeph.yaml
+++ b/de/heat-templates/fragments/SrvInstancesVMCeph.yaml
@@ -91,6 +91,9 @@
kubectl_version:
type: string
default: 1.18.8
+ devops_utils_refspec:
+ type: string
+ default: 'master'
resources:
@@ -100,7 +103,7 @@
group: ungrouped
config:
str_replace:
- template: { get_file: ../scripts/instance_boot.sh }
+ template: { get_file: ../scripts/launch.sh }
params:
$node_type: { get_param: node_type }
$kubernetes_installer: { get_param: kubernetes_installer }
@@ -126,6 +129,7 @@
$ironic_baremetal_tunnel_cidr: { get_param: ironic_baremetal_tunnel_cidr }
$ironic_mt_enabled: { get_param: ironic_mt_enabled }
$kubectl_version: { get_param: kubectl_version }
+ $devops_utils_refspec: { get_param: devops_utils_refspec }
inject_files:
type: "OS::Heat::CloudConfig"