]> git.proxmox.com Git - pve-docs.git/blobdiff - pct.1-synopsis.adoc
certificate-managment.adoc: describe dir change
[pve-docs.git] / pct.1-synopsis.adoc
index 3ecb377f878c53425ab7540660a66ce380680bb8..24d1f3d69ec7dc0b4dd355b48b784310f81e4308 100644 (file)
@@ -1,6 +1,6 @@
 *pct* `<COMMAND> [ARGS] [OPTIONS]`
 
-*pct clone* `<vmid> <newid> --experimental <boolean>` `[OPTIONS]`
+*pct clone* `<vmid> <newid>` `[OPTIONS]`
 
 Create a container clone/copy
 
@@ -16,13 +16,9 @@ VMID for the clone.
 
 Description for the new CT.
 
-`--experimental` `<boolean>` ('default =' `0`)::
+`--full` `<boolean>` ::
 
-The clone feature is experimental, set this flag if you know what you are doing.
-
-`--full` `<boolean>` ('default =' `0`)::
-
-Create a full copy of all disk. This is always done when you clone a normal CT. For CT templates, we try to create a linked clone by default.
+Create a full copy of all disks. This is always done when you clone a normal CT. For CT templates, we try to create a linked clone by default.
 
 `--hostname` `<string>` ::
 
@@ -39,8 +35,10 @@ The name of the snapshot.
 `--storage` `<string>` ::
 
 Target storage for full clone.
-+
-NOTE: Requires option(s): `full`
+
+`--target` `<string>` ::
+
+Target node. Only allowed if the original VM is on shared storage.
 
 *pct config* `<vmid>`
 
@@ -78,6 +76,10 @@ The OS template or backup file.
 
 OS architecture type.
 
+`--bwlimit` `<number> (0 - N)` ::
+
+Override i/o bandwidth limit (in KiB/s).
+
 `--cmode` `<console | shell | tty>` ('default =' `tty`)::
 
 Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).
@@ -146,7 +148,7 @@ Specifies whether a VM will be started during system bootup.
 
 OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.
 
-`--password` ::
+`--password` `<password>` ::
 
 Sets root password inside container.
 
@@ -174,6 +176,10 @@ Sets DNS search domains for a container. Create will automatically use the setti
 
 Setup public SSH keys (one key per line, OpenSSH format).
 
+`--start` `<boolean>` ('default =' `0`)::
+
+Start the CT after its creation finished successfully.
+
 `--startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
 
 Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.
@@ -332,6 +338,30 @@ further operations on the container other than start and stop.
 
 The (unique) ID of the VM.
 
+*pct move_volume* `<vmid> <volume> <storage>` `[OPTIONS]`
+
+Move a rootfs-/mp-volume to a different storage
+
+`<vmid>`: `<integer> (1 - N)` ::
+
+The (unique) ID of the VM.
+
+`<volume>`: `<mp0 | mp1 | mp2 | mp3 | mp4 | mp5 | mp6 | mp7 | mp8 | mp9 | rootfs>` ::
+
+Volume which will be moved.
+
+`<storage>`: `<string>` ::
+
+Target Storage.
+
+`--delete` `<boolean>` ('default =' `0`)::
+
+Delete the original volume after successful copy. By default the original is kept as an unused volume entry.
+
+`--digest` `<string>` ::
+
+Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
+
 *pct pull* `<vmid> <path> <destination>` `[OPTIONS]`
 
 Copy a file from the container to the local system.
@@ -424,6 +454,10 @@ The OS template or backup file.
 
 OS architecture type.
 
+`--bwlimit` `<number> (0 - N)` ::
+
+Override i/o bandwidth limit (in KiB/s).
+
 `--cmode` `<console | shell | tty>` ('default =' `tty`)::
 
 Console mode. By default, the console command tries to open a connection to one of the available tty devices. By setting cmode to 'console' it tries to attach to /dev/console instead. If you set cmode to 'shell', it simply invokes a shell inside the container (no login).
@@ -492,7 +526,7 @@ Specifies whether a VM will be started during system bootup.
 
 OS type. This is used to setup configuration inside the container, and corresponds to lxc setup scripts in /usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used to skip and OS specific setup.
 
-`--password` ::
+`--password` `<password>` ::
 
 Sets root password inside container.
 
@@ -516,6 +550,10 @@ Sets DNS search domains for a container. Create will automatically use the setti
 
 Setup public SSH keys (one key per line, OpenSSH format).
 
+`--start` `<boolean>` ('default =' `0`)::
+
+Start the CT after its creation finished successfully.
+
 `--startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
 
 Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.
@@ -758,7 +796,7 @@ Suspend the container.
 
 The (unique) ID of the VM.
 
-*pct template* `<vmid> --experimental <boolean>` `[OPTIONS]`
+*pct template* `<vmid>`
 
 Create a Template.
 
@@ -766,10 +804,6 @@ Create a Template.
 
 The (unique) ID of the VM.
 
-`--experimental` `<boolean>` ('default =' `0`)::
-
-The template feature is experimental, set this flag if you know what you are doing.
-
 *pct unlock* `<vmid>`
 
 Unlock the VM.