summaryrefslogtreecommitdiff
path: root/PVE/API2/Network/SDN.pm
diff options
context:
space:
mode:
authorAlexandre Derumier <aderumier@odiso.com>2020-04-13 08:13:10 +0200
committerThomas Lamprecht <t.lamprecht@proxmox.com>2020-05-02 19:14:58 +0200
commitf703d2ae09b7f877c5afa23d1109426b83ed3b69 (patch)
tree7038333f2a2cc2f17fee78fbb8c3b4f6c1f8ca4b /PVE/API2/Network/SDN.pm
parent2d4c068e0f70d2f6af50751f737c593c355e4220 (diff)
remove .new files
Diffstat (limited to 'PVE/API2/Network/SDN.pm')
-rw-r--r--PVE/API2/Network/SDN.pm15
1 files changed, 0 insertions, 15 deletions
diff --git a/PVE/API2/Network/SDN.pm b/PVE/API2/Network/SDN.pm
index 65c8d52..4af2b6f 100644
--- a/PVE/API2/Network/SDN.pm
+++ b/PVE/API2/Network/SDN.pm
@@ -97,21 +97,6 @@ __PACKAGE__->register_method ({
my $rpcenv = PVE::RPCEnvironment::get();
my $authuser = $rpcenv->get_user();
- if (-e "/etc/pve/sdn/controllers.cfg.new") {
- rename("/etc/pve/sdn/controllers.cfg.new", "/etc/pve/sdn/controllers.cfg")
- || die "applying sdn/controllers.cfg changes failed - $!\n";
- }
-
- if (-e "/etc/pve/sdn/zones.cfg.new") {
- rename("/etc/pve/sdn/zones.cfg.new", "/etc/pve/sdn/zones.cfg")
- || die "applying sdn/zones.cfg changes failed - $!\n";
- }
-
- if (-e "/etc/pve/sdn/vnets.cfg.new") {
- rename("/etc/pve/sdn/vnets.cfg.new", "/etc/pve/sdn/vnets.cfg")
- || die "applying sdn/vnets.cfg changes failed - $!\n";
- }
-
my $code = sub {
$rpcenv->{type} = 'priv'; # to start tasks in background
PVE::Cluster::check_cfs_quorum();