From: René Jochum Date: Mon, 4 Jun 2018 14:49:05 +0000 (+0200) Subject: Implement remote remove X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=commitdiff_plain;h=f79acf69e705e35f0eac8b1b3f4fa77a129c5514;hp=e2ca543cee2c735ede0ee4e4dd541c4831df1d82 Implement remote remove Signed-off-by: René Jochum --- diff --git a/PVE/APIClient/Commands/remote.pm b/PVE/APIClient/Commands/remote.pm index 080934f..c9e0e62 100644 --- a/PVE/APIClient/Commands/remote.pm +++ b/PVE/APIClient/Commands/remote.pm @@ -130,8 +130,11 @@ __PACKAGE__->register_method ({ code => sub { my ($param) = @_; - die "implement me"; + my $config = PVE::APIClient::Config->new(); + $config->remove_remote($param->{name}); + $config->save; + return undef; }}); our $cmddef = {