Update images build with repos checkout from gerrit
Change-Id: I27d19e248a1ded6b2a6a2a30b2955da57f23bc3f
diff --git a/trymcp-day01-image/template.json b/trymcp-day01-image/template.json
index 72ff9e0..aa63016 100644
--- a/trymcp-day01-image/template.json
+++ b/trymcp-day01-image/template.json
@@ -65,6 +65,7 @@
"FORMULA_VERSION={{ user `formula_version` }}",
"APT_MIRANTIS_SALT_REPO={{ user `apt_mirantis_salt_repo` }}",
"BOOTSTRAP_SALTSTACK_COM=file:///opt/bootstrap.saltstack.com.sh",
+ "MCP_VERSION={{ user `mcp_version` }}",
"PACKER_OFFLINE_BUILD=true"
],
"type": "shell",
@@ -77,10 +78,6 @@
]
},
{
- "environment_vars": [
- "HOME=/root",
- "MCP_VERSION={{ user `mcp_version` }}"
- ],
"type": "shell",
"pause_before": "10s",
"scripts": [
@@ -104,7 +101,7 @@
"8096M"
],
[
- "-fda",
+ "-cdrom",
"config-drive/cloudata.iso"
],
[