cleanup mirror-image
Change-Id: Iba39ddce46cff01e41e34b8c26970bc3cb46ff48
diff --git a/mirror-image/run.example.sh b/mirror-image/run.example.sh
index 9b50ebc..3f7328c 100644
--- a/mirror-image/run.example.sh
+++ b/mirror-image/run.example.sh
@@ -35,16 +35,17 @@
export VM_FLAVOR="3c4fe514-3eb6-464d-a419-7be09d72cf1e"
export VM_FLOATING_IP_POOL="095f43ed-65ba-48ce-8185-d4080e430a88"
export IMAGE_NAME="mcp-offline-mirror-$(date '+%Y-%m-%d-%H-%M-%S')"
-export VM_IMAGE="9953a40d-1fa2-4f26-b146-0507dbc912dc"
-export OS_TENANT_ID=$OS_PROJECT_ID
-export OS_DOMAIN_NAME="ldap"
-export OS_TENANT_NAME="azvyagintsev"
-
-#rm -rf images/
-#cloud-localds --hostname ubuntu --dsmode local config-drive/cloudata.iso config-drive/user-data.yaml
-rm -rf ~/.packer.d/
+export VM_IMAGE="9953a40d-1fa2-4f26-b146-0507dbc912dc" # ubuntu cloud img
+# May be need, if cloud with keystone v3 used
+#export OS_TENANT_ID=$OS_PROJECT_ID
+#export OS_DOMAIN_NAME="xxxx"
+#export OS_TENANT_NAME="xxxxx"
export PACKER_LOG=1
-#packer build -only=qemu -parallel=false -on-error=ask template.openstack.json
+# For qemu test-build:
+#cloud-localds --hostname ubuntu --dsmode local config-drive/cloudata.iso config-drive/user-data.yaml
+# packer build -only=qemu -parallel=false -on-error=ask template.json
+# rm -rf ~/.packer.d/
+
+# For openstack test-build
packer build -only=openstack -parallel=false -on-error=ask template.json
-#packer build -only=openstack -parallel=false -on-error=ask template.json