From ae3aaba948851a21f908a2f964d602d4fdf0d7f5 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 6 May 2025 21:59:46 +0200 Subject: [PATCH 1/2] incus --- help/index.rst | 1 + help/public/incus/index.rst | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 help/public/incus/index.rst diff --git a/help/index.rst b/help/index.rst index e60630f..315c661 100644 --- a/help/index.rst +++ b/help/index.rst @@ -38,6 +38,7 @@ RTFD public/grub/index public/ifupdown2/index public/imagemagick/index + public/incus/index public/isc-dhcp-server/index public/kubernetes/index public/letsencrypt/index diff --git a/help/public/incus/index.rst b/help/public/incus/index.rst new file mode 100644 index 0000000..cb64ebc --- /dev/null +++ b/help/public/incus/index.rst @@ -0,0 +1,20 @@ +incus +===== + +.. code-block:: + + incus image list + +.. code-block:: + + incus image copy \ + images: \ + local: \ + --copy-aliases \ + --vm + +.. code-block:: + + incus image alias list \ + --columns "a" \ + --format "compact,noheader" From 3721f35d9612f8f814a633c8c13c90241f33806a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 6 May 2025 22:16:27 +0200 Subject: [PATCH 2/2] download --- help/public/incus/index.rst | 39 ++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/help/public/incus/index.rst b/help/public/incus/index.rst index cb64ebc..b1aea29 100644 --- a/help/public/incus/index.rst +++ b/help/public/incus/index.rst @@ -1,20 +1,37 @@ incus ===== -.. code-block:: - - incus image list +download +-------- .. code-block:: - incus image copy \ - images: \ - local: \ - --copy-aliases \ - --vm + incus image list \ + images: .. code-block:: - incus image alias list \ - --columns "a" \ - --format "compact,noheader" + for alias in $(incus image alias list \ + --columns "a" \ + --format "compact,noheader" \ + ); do + incus image alias delete "${alias}" + done + +.. code-block:: + + incus image copy \ + images:name/version \ + local: \ + --copy-aliases \ + --vm + +.. code-block:: + + incus image alias list \ + --columns "a" \ + --format "compact,noheader" + +.. code-block:: + + incus image list