summaryrefslogtreecommitdiff
path: root/create-vm
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-12-07 10:39:59 +0200
committerLars Wirzenius <liw@liw.fi>2019-12-07 10:39:59 +0200
commit3607b16668245cd9f7ee1746c3979f51ed8994c0 (patch)
treef359853d6bd90dc6122b6e1125916153ba9bb1d3 /create-vm
parentc07fd635be75c7831509cdcdd1ec4618da4acb3a (diff)
downloadansibleness-3607b16668245cd9f7ee1746c3979f51ed8994c0.tar.gz
Change: don't wipe signatures in new LV
We're overwriting the LV anyway.
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 ca689ae..3f7535c 100755
--- a/create-vm
+++ b/create-vm
@@ -73,7 +73,7 @@ verbose "Image is $size bytes"
# Create new LV.
verbose "Creating LV /dev/$vg/$name"
sudo lvcreate --name "$name" --size "${size}b" \
- --zero y --wipesignatures y --activate y "$vg"
+ --zero y --wipesignatures n --activate y "$vg"
lvpath="/dev/$vg/$name"
verbose "lvpath=$lvpath"
#sudo lvchange -ay "$lvpath"