All Questions
Tagged with virsh virt-install
7 questions
0
votes
2
answers
2k
views
Ubuntu 20.04 cloud image can't get IP address
When using virt-install to create a guest, CentOS 7.9 cloud image successfully gets an IP address, which can be checked with sudo virsh domifaddr <domain>. However, Ubuntu 20.04 LTS cloud image ...
1
vote
1
answer
1k
views
network interfaces are deleted after issuing a virsh shutdown on VM
I tried to instantiate a VM using virt-install command with few interfaces as needed. The exact command is as follows:
virt-install \
--name VM \
--noautoconsole \
--input keyboard \
--...
2
votes
1
answer
294
views
Restoring terminal/TTY to normal after virt-install?
After having created a VM with virt-install then the terminal is only 24 lines, where the terminal have 70 lines.
I recall seeing a similar issue with virsh console.
Question
Ideally would I like both ...
1
vote
1
answer
4k
views
Where are the OS specific properties located used by virt-install --os-variant
Using
virt-install ... --os-variant win10 ...
virt-install create a new VM optimized for Windows 10.
But where are those OS specific properties located?
E.g. machine-type and the <hyperv> ...
0
votes
1
answer
2k
views
virt-install on Centos 8.1 doesn't complete when using --location http://localhost/inst
Should you reached this before, please let me know.
ISSUE
virt-install works well when passing arguments --cdrom /path/to/iso (and creates the guest) like
[root@192-168-0-104 admin]# virt-install -...
4
votes
1
answer
10k
views
virt-install hangs, no apparent error in logs and virsh list later shows its running after ctrl c exit, no domifaddr though
Got thrown into a situation managing boxes that the person before me used virt, so trying to come up to speed. As a test doing a virt-install of this:
virt-install --virt-type=kvm --name kosmos-icc --...
1
vote
1
answer
10k
views
Error when adding network interface to VM on KVM host using virsh
I'm attempting to script adding a network interface to a centos 6 guest. I know the interface can be set up using the virt-manager gui but it's highly desirable for it to be added as part of an ...