Commit 162a3984 authored by boklm's avatar boklm Committed by Georg Koppen
Browse files

Bug 18127: fix base-vm file name when using KVM

The base-vm file name is different if we are using LXC or KVM.
parent c4b55294
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@ build_and_test_vm() {
  local arch="$1"; shift
  local bits="$1"; shift

  if [ ! -f ./base-$dist-$arch ];
  if [ "z$USE_LXC" = "z1" -a ! -f ./base-$dist-$arch ] \
      || [ "z$USE_LXC" != "z1" -a ! -f ./base-$dist-$arch.qcow2 ];
  then
    if [ "z$USE_LXC" = "z1" ];
    then