[TryMOS] Rename startup scripts and location
* Fix getting storage networks
* Make variables modular
* Drop hardcoded sleep in wait
Related-Prod: PRODX-3456
Change-Id: Ibd7aece3bd6262d2ad579d20e87d8af661cef3d9
diff --git a/trymos/image_build/template.json b/trymos/image_build/template.json
index 9af97a3..d889b97 100644
--- a/trymos/image_build/template.json
+++ b/trymos/image_build/template.json
@@ -10,15 +10,6 @@
},
"provisioners": [
{
- "type": "shell",
- "inline": ["mkdir -p /usr/share/trymos/"]
- },
- {
- "type": "file",
- "source": "../../de/heat-templates/scripts/instance_boot.sh",
- "destination": "/usr/share/trymos/functions"
- },
- {
"type": "file",
"source": "./certs",
"destination": "/srv/"
@@ -30,13 +21,13 @@
},
{
"type": "file",
- "source": "files/srv/",
- "destination": "/srv"
+ "source": "files/usr/share",
+ "destination": "/usr"
},
{
"type": "file",
- "source": "files/usr/share",
- "destination": "/usr"
+ "source": "../../de/heat-templates/scripts/instance_boot.sh",
+ "destination": "/usr/share/trymos/functions"
},
{
"type": "file",