Update script set for TryMOS build
Related-Prod: PRODX-51901
Change-Id: Id1d438df95b5f138b71749d3f709618e8befd657
diff --git a/trymos/image_build/template.json b/trymos/image_build/template.json
index 3c2ee67..be7d8b9 100644
--- a/trymos/image_build/template.json
+++ b/trymos/image_build/template.json
@@ -7,47 +7,34 @@
"image_base_url": "{{ env `IMAGE_BASE_URL` }}",
"image_md5_url": "{{ env `IMAGE_MD5_URL` }}",
"vm_name": "{{ env `VM_NAME` }}",
- "binary_base_url": "{{ env `BINARY_BASE_URL` }}"
+ "inventory_file": "{{ env `INVENTORY_FILE` }}"
},
"provisioners": [
{
"type": "shell",
- "environment_vars": [
- "BINARY_BASE_URL={{user `binary_base_url`}}"
- ],
- "scripts": [
- "scripts/binary.sh"
+ "inline": [
+ "mkdir -p /usr/share/trymos /srv"
]
},
{
"type": "file",
- "source": "./certs",
+ "source": "{{user `inventory_file`}}",
+ "destination": "/srv/single_node.yaml"
+ },
+ {
+ "type": "file",
+ "source": "../rockoon/charts",
"destination": "/srv/"
},
{
"type": "file",
- "source": "./release-openstack-k8s",
+ "source": "../rockoon/virtual_lab",
"destination": "/srv/"
},
{
"type": "file",
- "source": "files/usr/share",
- "destination": "/usr"
- },
- {
- "type": "file",
- "source": "../../de/heat-templates/scripts/instance_boot.sh",
- "destination": "/usr/share/trymos/functions"
- },
- {
- "type": "file",
- "source": "files/etc/",
- "destination": "/etc"
- },
- {
- "type": "file",
- "source": "./release-openstack-k8s/trymos/files/environment/common",
- "destination": "/usr/share/trymos/environment/common"
+ "source": "./scripts/launch.sh",
+ "destination": "/usr/share/trymos/"
}
],
"builders": [
@@ -56,7 +43,7 @@
"qemuargs": [
[
"-m",
- "8096M"
+ "4096M"
],
[
"-smp",