Displaying 3 results from an estimated 3 matches for "arch01".
2019 Nov 07
4
Understanding the use of virt-install from the CLI (Linux)
...am using them. This
time around though, I'd like to use the CLI approach. The problem
resides in defining a storage space. This is using virt-install 1.5.1
on Xubuntu 18.04.
For the occasion I created a new directory to store images. So I
specify this new directory:
virt-install \
--name=arch01 \
--disk path=/Share2/KVMImages/arch01.qcow2 \
--disk size=10 \
[ ... ]
The above will not work as it reports:
'must be a file or a device, not a directory'
So I specify a file:
[ ... ]
--disk path=/Share2/KVMImages/arch01.qcow2 \
--disk size=10 \
[ ... ]
And it reports:
'Size mus...
2019 Nov 07
0
Re: Understanding the use of virt-install from the CLI (Linux)
..., I'd like to use the CLI approach. The problem
> resides in defining a storage space. This is using virt-install 1.5.1
> on Xubuntu 18.04.
>
> For the occasion I created a new directory to store images. So I
> specify this new directory:
>
> virt-install \
> --name=arch01 \
> --disk path=/Share2/KVMImages/arch01.qcow2 \
> --disk size=10 \
> [ ... ]
>
> The above will not work as it reports:
>
> 'must be a file or a device, not a directory'
>
> So I specify a file:
>
> [ ... ]
> --disk path=/Share2/KVMImages/arch01.qcow...
2019 Nov 07
0
Re: Understanding the use of virt-install from the CLI (Linux)
On Thu, 7 Nov 2019, jonetsu wrote:
> And it reports:
>
> 'Size must be specified for non existent volume 'arch01.qcow2''
>
> But the size is already specified as one of the options.
At least the following works on Debian 10:
virt-install \
--connect "qemu:///session" \
--name "debian10virt-install" \
--ram "1024" \
--vcpus "1" \
--disk "si...