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/SrvInstancesVMCephOSD.yaml b/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
index cc0e841..dff89f5 100644
--- a/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
+++ b/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
@@ -124,6 +124,9 @@
kubectl_version:
type: string
default: 1.18.8
+ devops_utils_refspec:
+ type: string
+ default: 'master'
resources:
@@ -133,7 +136,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 }
@@ -168,6 +171,7 @@
$lvm_loop_device_size: { get_param: lvm_loop_device_size }
$cinder_lvm_loop_device_size: { get_param: cinder_lvm_loop_device_size }
$kubectl_version: { get_param: kubectl_version }
+ $devops_utils_refspec: { get_param: devops_utils_refspec }
inject_files:
type: "OS::Heat::CloudConfig"