X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=pct.1-synopsis.adoc;h=336ee6ea8836d7444ef6c7ca11ad5b4f64eb2b12;hp=24d1f3d69ec7dc0b4dd355b48b784310f81e4308;hb=a45c999b4586734621bbc968d67f87390739b270;hpb=5da3d723c173aa4f767240a3da923e0861152e3a diff --git a/pct.1-synopsis.adoc b/pct.1-synopsis.adoc index 24d1f3d..336ee6e 100644 --- a/pct.1-synopsis.adoc +++ b/pct.1-synopsis.adoc @@ -12,6 +12,10 @@ The (unique) ID of the VM. VMID for the clone. +`--bwlimit` ` (0 - N)` ('default =' `clone limit from datacenter or storage config`):: + +Override I/O bandwidth limit (in KiB/s). + `--description` `` :: Description for the new CT. @@ -40,7 +44,7 @@ Target storage for full clone. Target node. Only allowed if the original VM is on shared storage. -*pct config* `` +*pct config* `` `[OPTIONS]` Get container configuration. @@ -48,7 +52,11 @@ Get container configuration. The (unique) ID of the VM. -*pct console* `` +`--snapshot` `` :: + +Fetch config values from given snapshot. + +*pct console* `` `[OPTIONS]` Launch a console for the specified container. @@ -56,6 +64,10 @@ Launch a console for the specified container. The (unique) ID of the VM. +`--escape` `\^?[a-z]` ('default =' `^a`):: + +Escape sequence prefix. For example to use as the escape sequence pass '^b'. + *pct cpusets* Print the list of assigned CPU sets. @@ -72,13 +84,13 @@ The (unique) ID of the VM. The OS template or backup file. -`--arch` `` ('default =' `amd64`):: +`--arch` `` ('default =' `amd64`):: OS architecture type. -`--bwlimit` ` (0 - N)` :: +`--bwlimit` ` (0 - N)` ('default =' `restore limit from datacenter or storage config`):: -Override i/o bandwidth limit (in KiB/s). +Override I/O bandwidth limit (in KiB/s). `--cmode` `` ('default =' `tty`):: @@ -108,10 +120,18 @@ NOTE: You can disable fair-scheduler configuration by setting this to 0. Container description. Only used on the configuration web interface. +`--features` `[fuse=<1|0>] [,keyctl=<1|0>] [,mount=] [,nesting=<1|0>]` :: + +Allow containers access to advanced features. + `--force` `` :: Allow to overwrite existing container. +`--hookscript` `` :: + +Script that will be exectued during various steps in the containers lifetime. + `--hostname` `` :: Set a host name for the container. @@ -120,7 +140,7 @@ Set a host name for the container. Ignore errors when extracting the template. -`--lock` `` :: +`--lock` `` :: Lock/unlock the VM. @@ -200,6 +220,12 @@ Enable/disable Template. Specify the number of tty available to the container +`--unique` `` :: + +Assign a unique random ethernet address. ++ +NOTE: Requires option(s): `restore` + `--unprivileged` `` ('default =' `0`):: Makes the container run as unprivileged user. (Should not be modified manually.) @@ -268,7 +294,7 @@ Run a filesystem check (fsck) on a container volume. The (unique) ID of the VM. -`--device` `` :: +`--device` `` :: A volume on which to run the filesystem check @@ -276,6 +302,14 @@ A volume on which to run the filesystem check Force checking, even if the filesystem seems clean +*pct fstrim* `` + +Run fstrim on a chosen CT and its mountpoints. + +``: ` (1 - N)` :: + +The (unique) ID of the VM. + *pct help* `[OPTIONS]` Get help about specified command. @@ -312,6 +346,10 @@ The (unique) ID of the VM. Target node. +`--bwlimit` ` (0 - N)` ('default =' `migrate limit from datacenter or storage config`):: + +Override I/O bandwidth limit (in KiB/s). + `--force` `` :: Force migration despite local bind / device mounts. NOTE: deprecated, use 'shared' property of mount point instead. @@ -346,7 +384,7 @@ Move a rootfs-/mp-volume to a different storage The (unique) ID of the VM. -``: `` :: +``: `` :: Volume which will be moved. @@ -354,6 +392,10 @@ Volume which will be moved. Target Storage. +`--bwlimit` ` (0 - N)` ('default =' `clone limit from datacenter or storage config`):: + +Override I/O bandwidth limit (in KiB/s). + `--delete` `` ('default =' `0`):: Delete the original volume after successful copy. By default the original is kept as an unused volume entry. @@ -418,6 +460,18 @@ File permissions to use (octal by default, prefix with '0x' for hexadecimal). Owner user name or id. When using a name it must exist inside the container. +*pct rescan* `[OPTIONS]` + +Rescan all storages and update disk sizes and unused disk images. + +`--dryrun` `` ('default =' `0`):: + +Do not actually write changes out to conifg. + +`--vmid` ` (1 - N)` :: + +The (unique) ID of the VM. + *pct resize* ` ` `[OPTIONS]` Resize a container mount point. @@ -426,7 +480,7 @@ Resize a container mount point. The (unique) ID of the VM. -``: `` :: +``: `` :: The disk you want to resize. @@ -450,13 +504,13 @@ The (unique) ID of the VM. The OS template or backup file. -`--arch` `` ('default =' `amd64`):: +`--arch` `` ('default =' `amd64`):: OS architecture type. -`--bwlimit` ` (0 - N)` :: +`--bwlimit` ` (0 - N)` ('default =' `restore limit from datacenter or storage config`):: -Override i/o bandwidth limit (in KiB/s). +Override I/O bandwidth limit (in KiB/s). `--cmode` `` ('default =' `tty`):: @@ -486,10 +540,18 @@ NOTE: You can disable fair-scheduler configuration by setting this to 0. Container description. Only used on the configuration web interface. +`--features` `[fuse=<1|0>] [,keyctl=<1|0>] [,mount=] [,nesting=<1|0>]` :: + +Allow containers access to advanced features. + `--force` `` :: Allow to overwrite existing container. +`--hookscript` `` :: + +Script that will be exectued during various steps in the containers lifetime. + `--hostname` `` :: Set a host name for the container. @@ -498,7 +560,7 @@ Set a host name for the container. Ignore errors when extracting the template. -`--lock` `` :: +`--lock` `` :: Lock/unlock the VM. @@ -574,6 +636,12 @@ Enable/disable Template. Specify the number of tty available to the container +`--unique` `` :: + +Assign a unique random ethernet address. ++ +NOTE: Requires option(s): `restore` + `--unprivileged` `` ('default =' `0`):: Makes the container run as unprivileged user. (Should not be modified manually.) @@ -610,7 +678,7 @@ Set container options. The (unique) ID of the VM. -`--arch` `` ('default =' `amd64`):: +`--arch` `` ('default =' `amd64`):: OS architecture type. @@ -650,11 +718,19 @@ Container description. Only used on the configuration web interface. Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications. +`--features` `[fuse=<1|0>] [,keyctl=<1|0>] [,mount=] [,nesting=<1|0>]` :: + +Allow containers access to advanced features. + +`--hookscript` `` :: + +Script that will be exectued during various steps in the containers lifetime. + `--hostname` `` :: Set a host name for the container. -`--lock` `` :: +`--lock` `` :: Lock/unlock the VM.