]> git.proxmox.com Git - pve-docs.git/blobdiff - pct.adoc
network: adapt apply config section to PVE 7
[pve-docs.git] / pct.adoc
index d42a93612aa4012b0f389c62c7c7b8718281ee12..ebae3e9b165baa01ef427a2a0e6aa278cdf83d98 100644 (file)
--- a/pct.adoc
+++ b/pct.adoc
@@ -93,7 +93,7 @@ Technology Overview
 
 [[pct_supported_distributions]]
 Supported Distributions
 
 [[pct_supported_distributions]]
 Supported Distributions
-~~~~~~~~~~~~~~~~~~~~~~~
+-----------------------
 
 List of officially supported distributions can be found below.
 
 
 List of officially supported distributions can be found below.
 
@@ -102,125 +102,152 @@ repositories. You can use xref:pct_container_images[pveam] tool or the
 Graphical User Interface to download them.
 
 Alpine Linux
 Graphical User Interface to download them.
 
 Alpine Linux
-^^^^^^^^^^^^
+~~~~~~~~~~~~
 
 [quote, 'https://alpinelinux.org']
 ____
 
 [quote, 'https://alpinelinux.org']
 ____
-"Alpine Linux is a security-oriented, lightweight Linux distribution based on
-musl libc and busybox."
+Alpine Linux is a security-oriented, lightweight Linux distribution based on
+musl libc and busybox.
 ____
 
 ____
 
+For currently supported releases see:
+
 https://alpinelinux.org/releases/
 
 https://alpinelinux.org/releases/
 
-Archlinux
-^^^^^^^^^
+Arch Linux
+~~~~~~~~~~
 
 
-[quote, 'https://wiki.archlinux.org/title/Arch_Linux']
+[quote, 'https://archlinux.org/']
 ____
 ____
-"a lightweight and flexible Linux® distribution that tries to Keep It Simple."
+Arch Linux, a lightweight and flexible Linux® distribution that tries to Keep It Simple.
 ____
 
 ____
 
+Arch Linux is using a rolling-release model, see its wiki for more details:
+
+https://wiki.archlinux.org/title/Arch_Linux
 
 CentOS, Almalinux, Rocky Linux
 
 CentOS, Almalinux, Rocky Linux
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
-__CentOS__:
+CentOS / CentOS Stream
+^^^^^^^^^^^^^^^^^^^^^^
 
 [quote, 'https://centos.org']
 ____
 
 [quote, 'https://centos.org']
 ____
-"The CentOS Linux distribution is a stable, predictable, manageable and
+The CentOS Linux distribution is a stable, predictable, manageable and
 reproducible platform derived from the sources of Red Hat Enterprise Linux
 reproducible platform derived from the sources of Red Hat Enterprise Linux
-(RHEL)"
+(RHEL)
 ____
 
 ____
 
+For currently supported releases see:
+
 https://wiki.centos.org/About/Product
 
 https://wiki.centos.org/About/Product
 
-__Almalinux__:
+Almalinux
+^^^^^^^^^
 
 [quote, 'https://almalinux.org']
 ____
 
 [quote, 'https://almalinux.org']
 ____
-"An Open Source, community owned and governed, forever-free
-enterprise Linux distribution, focused on long-term stability, providing a
-robust production-grade platform. AlmaLinux OS is 1:1 binary compatible with
-RHEL® and pre-Stream CentOS."
+An Open Source, community owned and governed, forever-free enterprise Linux
+distribution, focused on long-term stability, providing a robust
+production-grade platform. AlmaLinux OS is 1:1 binary compatible with RHEL® and
+pre-Stream CentOS.
 ____
 
 
 ____
 
 
+For currently supported releases see:
+
 https://en.wikipedia.org/wiki/AlmaLinux#Releases
 
 https://en.wikipedia.org/wiki/AlmaLinux#Releases
 
-__Rocky Linux__:
+Rocky Linux
+^^^^^^^^^^^
 
 [quote, 'https://rockylinux.org']
 ____
 
 [quote, 'https://rockylinux.org']
 ____
-"Rocky Linux is a community enterprise operating system designed
-to be 100% bug-for-bug compatible with America's top enterprise Linux
-distribution now that its downstream partner has shifted direction."
+Rocky Linux is a community enterprise operating system designed to be 100%
+bug-for-bug compatible with America's top enterprise Linux distribution now
+that its downstream partner has shifted direction.
 ____
 
 ____
 
-https://en.wikipedia.org/wiki/Rocky_Linux#Releases
+For currently supported releases see:
 
 
+https://en.wikipedia.org/wiki/Rocky_Linux#Releases
 
 Debian
 
 Debian
-^^^^^^
+~~~~~~
 
 [quote, 'https://www.debian.org/intro/index#software']
 ____
 
 [quote, 'https://www.debian.org/intro/index#software']
 ____
-"Debian is a free operating system, developed and maintained by the Debian
+Debian is a free operating system, developed and maintained by the Debian
 project. A free Linux distribution with thousands of applications to meet our
 project. A free Linux distribution with thousands of applications to meet our
-users' needs."
+users' needs.
 ____
 
 ____
 
+For currently supported releases see:
+
 https://www.debian.org/releases/stable/releasenotes
 
 Devuan
 https://www.debian.org/releases/stable/releasenotes
 
 Devuan
-^^^^^^
+~~~~~~
 
 [quote, 'https://www.devuan.org']
 ____
 
 [quote, 'https://www.devuan.org']
 ____
-"Devuan GNU+Linux is a fork of Debian without systemd that allows users to
+Devuan GNU+Linux is a fork of Debian without systemd that allows users to
 reclaim control over their system by avoiding unnecessary entanglements and
 reclaim control over their system by avoiding unnecessary entanglements and
-ensuring Init Freedom."
+ensuring Init Freedom.
 ____
 
 ____
 
+For currently supported releases see:
+
+https://www.devuan.org/os/releases
 
 Fedora
 
 Fedora
-^^^^^^
+~~~~~~
 
 [quote, 'https://getfedora.org']
 ____
 
 [quote, 'https://getfedora.org']
 ____
-"Fedora creates an innovative, free, and open source platform for hardware,
+Fedora creates an innovative, free, and open source platform for hardware,
 clouds, and containers that enables software developers and community members
 clouds, and containers that enables software developers and community members
-to build tailored solutions for their users."
+to build tailored solutions for their users.
 ____
 
 ____
 
+For currently supported releases see:
+
 https://fedoraproject.org/wiki/Releases
 
 Gentoo
 https://fedoraproject.org/wiki/Releases
 
 Gentoo
-^^^^^^
+~~~~~~
 
 [quote, 'https://www.gentoo.org']
 ____
 
 [quote, 'https://www.gentoo.org']
 ____
-"a highly flexible, source-based Linux distribution."
+a highly flexible, source-based Linux distribution.
 ____
 
 ____
 
+Gentoo is using a rolling-release model.
+
 OpenSUSE
 OpenSUSE
-^^^^^^^^
+~~~~~~~~
 
 [quote, 'https://www.opensuse.org']
 ____
 
 [quote, 'https://www.opensuse.org']
 ____
-"The makers' choice for sysadmins, developers and desktop users."
+The makers' choice for sysadmins, developers and desktop users.
 ____
 
 ____
 
+For currently supported releases see:
+
 https://get.opensuse.org/leap/
 
 Ubuntu
 https://get.opensuse.org/leap/
 
 Ubuntu
-^^^^^^
+~~~~~~
 
 
-[quote, 'https://docs.ubuntu.com/']
+[quote, 'https://ubuntu.com/']
 ____
 ____
-"The world’s most popular Linux for desktop computing."
+Ubuntu is the modern, open source operating system on Linux for the enterprise
+server, desktop, cloud, and IoT.
 ____
 
 ____
 
+For currently supported releases see:
+
 https://wiki.ubuntu.com/Releases
 
 [[pct_container_images]]
 https://wiki.ubuntu.com/Releases
 
 [[pct_container_images]]
@@ -494,10 +521,21 @@ hierarchy under `/mnt/bindmounts`. Never bind mount system directories like
 NOTE: The bind mount source path must not contain any symlinks.
 
 For example, to make the directory `/mnt/bindmounts/shared` accessible in the
 NOTE: The bind mount source path must not contain any symlinks.
 
 For example, to make the directory `/mnt/bindmounts/shared` accessible in the
-container with ID `100` under the path `/shared`, use a configuration line like
-`mp0: /mnt/bindmounts/shared,mp=/shared` in `/etc/pve/lxc/100.conf`.
-Alternatively, use `pct set 100 -mp0 /mnt/bindmounts/shared,mp=/shared` to
-achieve the same result.
+container with ID `100` under the path `/shared`, add a configuration line such as:
+
+----
+mp0: /mnt/bindmounts/shared,mp=/shared
+----
+
+into `/etc/pve/lxc/100.conf`.
+
+Or alternatively use the `pct` tool:
+
+----
+pct set 100 -mp0 /mnt/bindmounts/shared,mp=/shared
+----
+
+to achieve the same result.
 
 
 Device Mount Points
 
 
 Device Mount Points
@@ -1023,6 +1061,19 @@ backup jobs and HA resource configurations.
 # pct destroy 100 --purge
 ----
 
 # pct destroy 100 --purge
 ----
 
+Move a mount point volume to a different storage.
+
+----
+# pct move-volume 100 mp0 other-storage
+----
+
+Reassign a volume to a different CT. This will remove the volume `mp0` from
+the source CT and attaches it as `mp1` to the target CT. In the background
+the volume is being renamed so that the name matches the new owner.
+
+----
+#  pct move-volume 100 mp0 --target-vmid 200 --target-volume mp1
+----
 
 
 Obtaining Debugging Logs
 
 
 Obtaining Debugging Logs