From 4f1be36cdc99a0dd5b260eb70886928988b2c25e Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 3 Nov 2011 07:39:01 +0100 Subject: [PATCH] allow node name 'localhost' --- PVE/API2/Qemu.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index cd63cfba..c9d6da7d 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -706,7 +706,7 @@ __PACKAGE__->register_method({ my $remip; - if ($node ne PVE::INotify::nodename()) { + if ($node ne 'localhost' && $node ne PVE::INotify::nodename()) { $remip = PVE::Cluster::remote_node_ip($node); }