]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Another conditional fix
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 13 Jun 2018 22:17:58 +0000 (19:17 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 13 Jun 2018 22:17:58 +0000 (19:17 -0300)
kvmx-create

index 171c670dc4caf76b14c5cf7a2b07b2560990848b..4c1ee0b198a14f862c5da3493b194ad07c9869f7 100755 (executable)
@@ -233,7 +233,7 @@ function kvmx_create_custom {
     kvmx_install_package $req
   done
 
-  if [ -z "$image_type" ] || [ "$image_type" == "file" ]; then
+  if [ -z "$image_type" ] || [ "$image_type" == "file" ]; then
     echo "Creating image file..."
     #kvmx_sudo_run dd if=/dev/zero of=$image bs=$size count=1
     kvmx_sudo_run qemu-img create -f raw $image $size