Commit c21339c9 authored by Rene Hadler's avatar Rene Hadler

proxmox-installer6: Adjust name for lvm-thin search

parent 8e1b8409
......@@ -510,7 +510,7 @@ class Installer():
file_create("/etc/apt/sources.list.d/pve-no-subscription.list", "# deb http://download.proxmox.com/debian/pve buster pve-no-subscription")
# If lvm-thin convert to standard file storage if backup-machine
if self.machine_type == "backup" and run_cmd('pvesh get /storage | grep -i lvmthin', argShell=True) == 0:
if self.machine_type == "backup" and run_cmd('pvesh get /storage | grep -i local-lvm', argShell=True) == 0:
run_cmd('pvesh delete /storage/local-lvm')
run_cmd('lvremove /dev/pve/data -f')
run_cmd('lvcreate -Wy -l100%FREE -ndata pve')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment