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.
|
#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
|
||||||
|
|||||||
Reference in New Issue
Block a user