commit | f24e29920b9ec40e924c71bbe1999e027d61390e | [log] [tgz] |
---|---|---|
author | Angel Noam <noama@mellanox.com> | Thu May 11 15:13:29 2017 +0300 |
committer | Angel Noam <noama@mellanox.com> | Thu May 11 15:13:29 2017 +0300 |
tree | 0d661ca2e4127bc1d958339cd0ac73d04f16ccd6 | |
parent | 27df725179045a2e91a34eb91e29e52d0fe5f663 [diff] |
Add support for image name end with .raw Change-Id: If3bd42825a29755fa8e68fa5661d068c6f0019d2
diff --git a/functions b/functions index 8968a18..f842f63 100644 --- a/functions +++ b/functions
@@ -310,6 +310,11 @@ disk_format=qcow2 container_format=bare ;; + *.raw) + image_name=$(basename "$image" ".raw") + disk_format=raw + container_format=bare + ;; *.iso) image_name=$(basename "$image" ".iso") disk_format=iso