Creating a staging directory

Last Updated : Dec 13, 2024 |

Procedure

  1. Download the WebLM KVM image from PLDS to your computer.
  2. Log in to the ASP R6.0.x CLI with custadm credentials.
  3. Run the following command to ensure that the staging folder exists: /var/lib/libvirt/staging.

    sudo ls -ld /var/lib/libvirt/staging

  4. Remove older images from the staging folder.
  5. Ensure sufficient space is available in the staging folder to copy the KVM image.
  6. Optional If the staging folder does not exist, create it using the following commands:
    • sudo mkdir /var/lib/libvirt/staging

    • sudo chown custadm:wheel /var/lib/libvirt/staging

    The chown command now allows custadm to write into the staging directory with sudo. The permissions should look as follows:
    drwxr-x---. 2 custadm wheel 6 Oct 23 14:32 /var/lib/libvirt/staging