added command to remove local-lvm

This commit is contained in:
mkono87 committed 2021-10-24 14:21:35 -04:00
1 parent ea5c72f8ee
commit cdcda2e003
1 file changed
+1
+1
View File
@@ -20,6 +20,7 @@ function darkmode {
#Remove local-pve partition, resize and partition the disk all in to local. #Remove local-pve partition, resize and partition the disk all in to local.
function partition { function partition {
pvesm remove local-lvm
lvremove /dev/pve/data -y lvremove /dev/pve/data -y
lvresize -l +100%FREE /dev/pve/root lvresize -l +100%FREE /dev/pve/root
resize2fs /dev/mapper/pve-root resize2fs /dev/mapper/pve-root