-#!/usr/bin/perl -w
+#!/usr/bin/perl
# NOTE: you need to run this on a PVE host, or modify the source to
# provide username/password/hostname from somewhere else.
use strict;
+use warnings;
+
use PVE::APIClient::LWP;
use PVE::AccessControl;
manual_verification => 1,
);
-my $res = $conn->get("api2/json/", {});
+my $res = $conn->get("/", {});
print to_json($res, { pretty => 1, canonical => 1});