proxmox-storage-setup-dir

Enabled KVM nested capability for hypervisor installs in VMs.

This task is injected in to a running workflow via the Stage proxmox-create-storage. You must set the Param proxmox/flexiflow-create-storage to include this task name for it to be added to the system.

This Task creates the dir storage to an existing Proxmox VE server if it doesn't yet exist. Note that default Storage type is lvm-thin; which uses a full block device. This type allows use of a directory to back the VM and Container images.

The proxmox/storage-config Param defines the configuration to use for all storage types, including dir type.

An example configuration for this task:

proxmox/storage-config:
  dir:
    local-images:
      path: /var/lib/images
      content: images,iso
    local:
      path: /var/lib/vz
      content: iso,vztmpl,backup
    backup:
      path: /mnt/backup
      content: backup
      maxfiles: 7

This creates 3 directory structures for storing different content types in the existing filesystem. For documentation on configuration values, please see:

* <https://pve.proxmox.com/wiki/Storage>

Config values in YAML/JSON stanzas match the Proxmox configuration values.