--- /dev/null
+#!/bin/sh -eu
+tool=$(readlink -e "${0%/*}/..")
+. "$tool"/host/lib.sh
+
+"$tool"/host/part-lvm-umount
+! sudo vgs | grep -q "^ $vm_lvm_vg " ||
+sudo vgremove $vm_lvm_vg
+sudo pvcreate --dataalignment 512k $vm_lvm_pv
+sudo vgcreate --dataalignment 512k $vm_lvm_vg $vm_lvm_pv
+sudo lvcreate --contiguous y -n ${vm_lvm_lv}_swap -L 1G $vm_lvm_vg
+sudo lvcreate --contiguous y -n ${vm_lvm_lv}_root -L 15G $vm_lvm_vg
+sudo lvcreate --contiguous y -n ${vm_lvm_lv}_var -L 5G $vm_lvm_vg
+sudo lvcreate --contiguous y -n ${vm_lvm_lv}_home -l 99%FREE $vm_lvm_vg
+"$tool"/host/part-lvm-umount