[pve-devel] [PATCH] clone vm firewall config file

Alen Grizonic a.grizonic at proxmox.com
Fri Aug 21 17:13:58 CEST 2015


Signed-off-by: Alen Grizonic <a.grizonic at proxmox.com>
---
 PVE/API2/Qemu.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 0dd413b..db6424e 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -2282,6 +2282,8 @@ __PACKAGE__->register_method({
 		return;
 	    };
 
+	    PVE::Firewall::clone_vmfw_conf($vmid, $newid);
+
 	    return $rpcenv->fork_worker('qmclone', $vmid, $authuser, $realcmd);
 	};
 
-- 
2.1.4





More information about the pve-devel mailing list