[pve-devel] [PATCH 3/3] fix the possibility to create a ct with mp and alternative rootfs

Wolfgang Link w.link at proxmox.com
Fri Jan 15 07:25:10 CET 2016


---
 src/PVE/LXC.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 33fca55..364c761 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -2363,6 +2363,8 @@ sub create_disks {
 		$conf->{$ms} = print_ct_mountpoint($mountpoint, $ms eq 'rootfs');
 	    } else {
 		# use specified/existing volid
+		$conf->{$ms} =  print_ct_mountpoint($mountpoint, $ms eq 'rootfs');
+		push @$vollist, $volid;
 	    }
 	});
 
-- 
2.1.4





More information about the pve-devel mailing list