summaryrefslogtreecommitdiff
path: root/create-vm
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-04-25 17:31:22 +0300
committerLars Wirzenius <liw@liw.fi>2016-04-25 17:31:22 +0300
commit0773b3f951a929ec77a82119be1d716319cdad9b (patch)
tree8462b65ed401e9e526f96e12cd23299084067ba3 /create-vm
parent38b34d0b2ded11fc870e2a03c3ae8b76fa03e1da (diff)
downloadansibleness-0773b3f951a929ec77a82119be1d716319cdad9b.tar.gz
Zero more when creating a new LV for a new VM
Diffstat (limited to 'create-vm')
-rwxr-xr-xcreate-vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/create-vm b/create-vm
index 2affaad..dfc3499 100755
--- a/create-vm
+++ b/create-vm
@@ -59,7 +59,7 @@ size="4G"
# Create new LV.
sudo lvcreate --name "$name" --size "$size" \
- --wipe-signatures y --activate y "$vg"
+ --zero y --wipe-signatures y --activate y "$vg"
lvpath="/dev/$vg/$name"
# Copy uncompressed image to LV.