snippetbashTip
virsh pool-define-as — Create a configuration file in `/etc/libvirt/storage` for a persistent virtual machine storage pool
Viewed 0 times
etccreateconfigurationcommandclifilevirsh pool-define-aslibvirt
Problem
How to use the
virsh pool-define-as command: 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 information: <https://manned.org/virsh>.Solution
virsh pool-define-as — 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 information: <https://manned.org/virsh>.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}}Code Snippets
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}}Context
tldr-pages: common/virsh pool-define-as
Revisions (0)
No revisions yet.