From 96e1743e3e9470e156539c433a9da8fe2bb64049 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 10 Oct 2011 09:52:13 +0200 Subject: [PATCH] log openvz configuration changes --- PVE/API2/OpenVZ.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/API2/OpenVZ.pm b/PVE/API2/OpenVZ.pm index a06783e3..d5a8e4eb 100644 --- a/PVE/API2/OpenVZ.pm +++ b/PVE/API2/OpenVZ.pm @@ -237,6 +237,8 @@ __PACKAGE__->register_method({ my $cmd = ['vzctl', '--skiplock', 'set', $vmid, @$changes, '--save']; + PVE::Cluster::log_msg('info', $user, "update CT $vmid: " . join(' ', @$changes)); + PVE::Tools::run_command($cmd); };