Fix: Update arch and flavor in memcached template
When you list images arch shows up empty.
Use V3 flavor over V1.
Issue-ID: CIMAN-33
Change-Id: I587c13ab90a9f2611f1cac8c3a3394be0ef68681
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
diff --git a/packer/templates/memcached.json b/packer/templates/memcached.json
index 6cdab9d..6554fb6 100644
--- a/packer/templates/memcached.json
+++ b/packer/templates/memcached.json
@@ -1,6 +1,7 @@
{
"variables": {
"ansible_roles_path": ".galaxy",
+ "arch": "x86_64",
"base_image": null,
"distro": null,
"cloud_auth_url": null,
@@ -9,6 +10,7 @@
"cloud_network": null,
"cloud_tenant": null,
"cloud_user_data": null,
+ "flavor": "v3-standard-2",
"ssh_user": null,
"ssh_proxy_host": ""
},
@@ -30,7 +32,7 @@
"user_data_file": "{{user `cloud_user_data`}}",
"ssh_username": "{{user `ssh_user`}}",
"ssh_proxy_host": "{{user `ssh_proxy_host`}}",
- "flavor": "v1-standard-1",
+ "flavor": "{{user `flavor`}}",
"metadata": {
"ci_managed": "yes"
}