added command to remove local-lvm
This commit is contained in:
@@ -20,6 +20,7 @@ function darkmode {
|
||||
|
||||
#Remove local-pve partition, resize and partition the disk all in to local.
|
||||
function partition {
|
||||
pvesm remove local-lvm
|
||||
lvremove /dev/pve/data -y
|
||||
lvresize -l +100%FREE /dev/pve/root
|
||||
resize2fs /dev/mapper/pve-root
|
||||
|
||||
Reference in New Issue
Block a user