add agent flag to vm status api call

so that we can check in the gui if we have the agent set without
having to load the whole config

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2018-02-13 16:47:08 +01:00 committed by Thomas Lamprecht
parent aaa36aee18
commit c9a074b8bf

View File

@ -1760,6 +1760,8 @@ __PACKAGE__->register_method({
$status->{spice} = 1 if PVE::QemuServer::vga_conf_has_spice($conf->{vga});
$status->{agent} = 1 if $conf->{agent};
return $status;
}});