diff options
author | Rod Smith <rod.smith@canonical.com> | 2017-09-19 14:08:03 -0400 |
---|---|---|
committer | Rod Smith <rod.smith@canonical.com> | 2017-09-19 14:08:03 -0400 |
commit | dd956d899c5d31f73bd258558f9c0f3030a111dd (patch) | |
tree | dfccb193c9724fb3696699a7bbbc974edfa18e9d /bin | |
parent | a2cbc59e55ed21f755f45a5db2df5695a2220315 (diff) |
Fixed virtualization script to use correct URL when a URL to a .tar.gz file is specified as the virtualization image.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/virtualization | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/virtualization b/bin/virtualization index b67a5fa..17ab9b7 100755 --- a/bin/virtualization +++ b/bin/virtualization @@ -292,7 +292,8 @@ class KVMTest(object): if ( url.path.endswith('/') or url.path == '' or - not url.path.endswith(".img") + not (url.path.endswith(".img") or + url.path.endswith(".tar.gz")) ): # If we have a relative URL (local copies of official images) # http://192.168.0.1/ or http://192.168.0.1/images/ |