[pve-devel] [PATCH pve-container 1/3] PVE/API2/LXC.pm: remove experimental parameter for clone/template

Dietmar Maurer dietmar at proxmox.com
Thu Mar 15 14:24:01 CET 2018


Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
---
 src/PVE/API2/LXC.pm | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index ec3a449..e59eb10 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -1126,12 +1126,6 @@ __PACKAGE__->register_method({
 	properties => {
 	    node => get_standard_option('pve-node'),
 	    vmid => get_standard_option('pve-vmid', { completion => \&PVE::LXC::complete_ctid_stopped }),
-	    experimental => {
-		type => 'boolean',
-		description => "The template feature is experimental, set this " .
-		    "flag if you know what you are doing.",
-		default => 0,
-	    },
 	},
     },
     returns => { type => 'null'},
@@ -1237,12 +1231,6 @@ __PACKAGE__->register_method({
 		    "you clone a normal CT. For CT templates, we try to create a linked clone by default.",
 		default => 0,
 	    },
-	    experimental => {
-		type => 'boolean',
-		description => "The clone feature is experimental, set this " .
-		    "flag if you know what you are doing.",
-		default => 0,
-	    },
 #	    target => get_standard_option('pve-node', {
 #		description => "Target node. Only allowed if the original VM is on shared storage.",
 #		optional => 1,
-- 
2.11.0




More information about the pve-devel mailing list