[pve-devel] [PATCH] Typo in create_rootfs() subroutine

Emmanuel Kasper e.kasper at proxmox.com
Mon Aug 24 17:58:38 CEST 2015


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

diff --git a/src/PVE/LXC/Create.pm b/src/PVE/LXC/Create.pm
index 9cb52e3..fa59fcb 100644
--- a/src/PVE/LXC/Create.pm
+++ b/src/PVE/LXC/Create.pm
@@ -184,7 +184,7 @@ sub create_rootfs {
 	my $old_conf = PVE::LXC::load_config($vmid);
 	
 	# destroy old container volume
-	PVE::LXC::destory_lxc_container($storage_cfg, $vmid, $old_conf);
+	PVE::LXC::destroy_lxc_container($storage_cfg, $vmid, $old_conf);
 
 	# do not copy all settings to restored container
 	foreach my $opt (qw(rootfs digest snapshots)) {
-- 
2.1.4





More information about the pve-devel mailing list