From 3ff84d6fe6ed3b50a65183b5a429055e6d66ffac Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 21 Mar 2019 12:53:45 +0100 Subject: [PATCH] remove registering 'pve-snapshot-name', now in common Signed-off-by: Thomas Lamprecht --- PVE/QemuServer.pm | 7 +------ debian/control | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index c21876b..e60aa28 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2,6 +2,7 @@ package PVE::QemuServer; use strict; use warnings; + use POSIX; use IO::Handle; use IO::Select; @@ -77,12 +78,6 @@ PVE::JSONSchema::register_standard_option('pve-qm-stateuri', { optional => 1, }); -PVE::JSONSchema::register_standard_option('pve-snapshot-name', { - description => "The name of the snapshot.", - type => 'string', format => 'pve-configid', - maxLength => 40, -}); - PVE::JSONSchema::register_standard_option('pve-qm-image-format', { type => 'string', enum => [qw(raw cow qcow qed qcow2 vmdk cloop)], diff --git a/debian/control b/debian/control index 039b9e2..112e813 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Proxmox Support Team Build-Depends: debhelper (>= 7.0.50~), libio-multiplex-perl, libjson-c-dev, - libpve-common-perl (>= 5.0-48), + libpve-common-perl (>= 5.0-49), libpve-guest-common-perl (>= 2.0-20), libpve-storage-perl, libtest-mockmodule-perl, @@ -29,7 +29,7 @@ Depends: dbus, libjson-xs-perl, libnet-ssleay-perl, libpve-access-control (>= 5.0-7), - libpve-common-perl (>= 5.0-48), + libpve-common-perl (>= 5.0-49), libpve-guest-common-perl (>= 2.0-18), libpve-storage-perl (>= 5.0-18), libpve-guest-common-perl (>= 2.0-20), -- 2.39.2