summaryrefslogtreecommitdiffstats
path: root/rapidvm/dib/verify-image.sh
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@intel.com>2021-02-15 15:01:20 +0100
committerLuc Provoost <luc.provoost@intel.com>2021-02-18 14:38:16 +0100
commit480fcf799c1c30421e10abb78b91303ade4bc059 (patch)
treef314b637e94ccca6c49cbb59c1c4f5d76886d9b4 /rapidvm/dib/verify-image.sh
parent849357bb9ca1d27993c9e96b93156ec69b3ac3a9 (diff)
Using disk image builder to create rapid VM
All files are now availavle to build a qcow2 image using disk image builder. This image is based on centos 7. DPDK and PROX are installed together with some optimizations. Change-Id: I61aa91206ea7f8b3b6a3ff7d490d1804e7e784c8 Signed-off-by: Luc Provoost <luc.provoost@intel.com>
Diffstat (limited to 'rapidvm/dib/verify-image.sh')
-rwxr-xr-xrapidvm/dib/verify-image.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/rapidvm/dib/verify-image.sh b/rapidvm/dib/verify-image.sh
new file mode 100755
index 00000000..a5d798fd
--- /dev/null
+++ b/rapidvm/dib/verify-image.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+# A shell script to verify that a VM image is present in google storage
+# If not present in google storage, verify it is present locally
+# If not present locally, build it but do not uplaod to google storage
+
+bash build-image.sh -v