Questions tagged [virt-install]
41 questions
1
vote
3 answers
Can't install additional VM with virt-install
Installing an additional VM with the virt-install command results in the following error:
ERROR internal error: process exited while connecting to monitor: 2019-02-20T08:21:45.534416Z qemu-system-x86_64: -drive…

cworner1
- 113
- 6
1
vote
3 answers
Do not start guest after virt-install
I like to set up a new guest but do not want to start it immediately.
I use virt-install with these options:
virt-install \
--connect qemu:///system \
--import \
--virt-type kvm \
--name somevm \
--os-variant win7 \
--memory…

reox
- 165
- 2
- 10
1
vote
1 answer
virt-install - Couldn't find hvm kernel for Red Hat Enterprise Linux tree
I'm trying install virtual machine (KVM) with Cisco ISE 2.1 on Debian 9 via CLI.
Here is my script
virt-install --arch=x86_64 --name=ise21 --disk path=/var/lib/libvirt/images/ise/ise21.qcow2 --ram=6144 --cpu=host --os-type=linux --hvm…

SpriteCZ
- 31
- 1
- 6
1
vote
1 answer
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 Ansible playbook using virsh attach-interface or…

robbiedyer
- 43
- 1
- 6
1
vote
1 answer
enable vnc after virt-install
I've created a virtual machine using virt-install with graphics --none. I want to enable vnc. I've tried
virsh -c qemu:///system qemu-monitor-command vm171-SC-1 --hmp change vnc :3
but it doesn't work
virsh -c qemu:///system qemu-monitor-command…

sashang
- 167
- 1
- 9
1
vote
0 answers
virt-install with kickstart file using LVM fails
I'm trying to install a VM using virt-install using a kickstart file. I've tried both RHEL 7.0 and RHEL 7.1. In both cases using LVM seems to make the installation fail. After a timeout it drops me to the dracut:/# prompt and informs me that I can…

theillien
- 445
- 3
- 13
- 28
1
vote
1 answer
Cannot install windows guest using virt-install
I am trying to install a windows guest (Windows Sever 2012 64-bit) on my CentOS 6.4 64-bit system using virt-install command.
Command:
/usr/sbin/virt-install --graphics vnc,port=5903,listen=127.0.0.1,password=redhat --noautoconsole --name=myos2…

skrtbhtngr
- 113
- 6
1
vote
3 answers
Installing RHEL/CentOS over FTP using kickstart
I have the following command to install CentOS using the virtual vsFTP server that I have at 192.168.122.1:
virt-install --name kickstart.example.com --ram 768 \
--disk path=/var/lib/libvirt/images/kickstart.example.com.img,size=12 \
--location…

ale
- 933
- 2
- 10
- 13
1
vote
1 answer
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 \
--os-variant rhel7.0 \
--memory 8192 \
…

Karthik Srinivas
- 11
- 1
1
vote
1 answer
KVM/QEMU CentOS 8 kickstarted VMs have broken networking, are unreachable
I can't understand why the VMs I create using virt-install & kickstart do not have networking that can be accessed reliably from foreign hosts. The VMs I created using virt-manager can be logged into using ssh, are pingable etc. but the kickstarted…

mr.zog
- 923
- 3
- 20
- 39
1
vote
1 answer
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 elements (the one specified in the virt XML)
Been looking in…

MrCalvin
- 354
- 1
- 6
- 18
0
votes
2 answers
Could not find an installable distribution at '/home/customize.iso'
Below command work well for standard iso provided by Ubuntu but facing issue when customize iso is used.
virt-install --name=vm--vcpu=18 --ram=65536 --location=/home/customize.iso --network bridge=br0 --network bridge=br0 --disk…

Ansari Moinuddin
- 1
- 1
- 1
0
votes
0 answers
virt-install choice of graphics affects whether or not installed guest will boot after install
Please let me know if I am doing something incorrectly or if this is a bug.
Host OS: Debian 9.6 Stretch amd64
Package:
ii libvirt-daemon 3.0.0-4+deb9u3 amd64 Virtualization daemon
ii …

Brenden E.
- 1
- 1
0
votes
1 answer
virt-install with pxe fails when using fixed ip in kickstart file
Using virt-install to deploy a qemu domain (CentOS 7) fails when I set a fixed ip in my kickstart file.
It works just fine with dhcp bootproto set in the same kickstart file.
The virt-install command is:
virt-install --hvm --connect qemu:///system…

lievendp
- 91
- 1
- 1
- 10
0
votes
0 answers
Vsphere provisioning equivalent to virt-install's --location options?
Is there a Vsphere guest provisioning equivalent to KVM's virt-install --location?
-l LOCATION , --location=LOCATION Distribution tree installtion source. virt-install can recognize certain distribution trees and
fetches a bootable kernel/initrd…

Neil H Watson
- 448
- 1
- 5
- 18