commands.sh

virsh pool-define-as

all

Create a configuration file in `/etc/libvirt/storage` for a persistent virtual machine storage pool from the provided arguments. See also: `virsh`, `virsh-pool-build`, `virsh-pool-start`.

More info →

Examples (1)

Create the configuration file for a storage pool called pool_name using `/var/vms` as the underlying storage system

virsh pool-define-as --name pool_name --type dir --target /var/vms
made by @shridhargupta | data from tldr-pages