lxc doesn't use disk images
authorLudwig Nussel <ludwig.nussel@suse.de>
Thu, 29 Apr 2010 09:00:28 +0000 (11:00 +0200)
committerLudwig Nussel <ludwig.nussel@suse.de>
Thu, 29 Apr 2010 14:08:22 +0000 (16:08 +0200)
build

diff --git a/build b/build
index ca1fe27..36cfbd2 100755 (executable)
--- a/build
+++ b/build
@@ -909,6 +909,11 @@ while test -n "$1"; do
     esac
 done
 
+if test "$VM_TYPE" = "lxc"; then
+    VM_IMAGE=''
+    VM_SWAP=''
+fi
+
 test -n "$CACHE_DIR" ||  CACHE_DIR=/var/cache/build
 
 if test -n "$KILL" ; then