Remove virsh prealloc patch

A similar patch to fix the same problem was merged upstream in the
tripleo-incubator repository.

Change-Id: I9c14c74001ca6cc865da18769ac08153bd5b0602
This commit is contained in:
Lucas Alvares Gomes 2013-09-12 09:20:39 +01:00
parent 7d2bfa8140
commit 35d9006a70
1 changed files with 0 additions and 24 deletions

View File

@ -1,24 +0,0 @@
From 02818225efe2574f2e185ab7c023f2a10e755805 Mon Sep 17 00:00:00 2001
From: Derek Higgins <derekh@redhat.com>
Date: Wed, 3 Jul 2013 12:56:22 +0100
Subject: [PATCH] No --prealloc-metadata on fedora's virsh
---
scripts/create-nodes | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/create-nodes b/scripts/create-nodes
index cb3d94c..0bedb5b 100755
--- a/scripts/create-nodes
+++ b/scripts/create-nodes
@@ -13,6 +13,6 @@ count=0
for (( count=0; count<TOTAL; ++count )) ; do
# TODO: make this idempotent / at least not error when run more than once.
- virsh vol-create-as default baremetal-$count.qcow2 ${DISK}G --format qcow2 --prealloc-metadata
+ virsh vol-create-as default baremetal-$count.qcow2 ${DISK}G --format qcow2 #--prealloc-metadata
configure-vm --bootdev network --name baremetal_$count --image /var/lib/libvirt/images/baremetal-$count.qcow2 --arch $ARCH --cpus $CPU --memory $MEM
done
--
1.8.1.4