Questions tagged [virt-install]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
179 views

KVM virt-install issue

I want to run arch linux as guest but after virt-install screen is stuck at console Escape character is ^] (Ctrl + ]).However VMs install by virt-manager are working fine and console is also working ...
Black_Bird's user avatar
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 ...
os_user's user avatar
1 vote
1 answer
798 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 \ --...
Karthik Srinivas's user avatar
0 votes
1 answer
3k views

virt-install error to create instance in qemu-kvm

OS: Debian 10.4 libvirtd version: 5.0.0 Hello! I need to create a instance in qemu-kvm. With this command: virt-install --connect qemu:///system --virt-type kvm --name test01 --ram=2048 --vcpus=2 --...
CH06's user avatar
  • 13
2 votes
1 answer
250 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 ...
Sandra's user avatar
  • 10.5k
1 vote
1 answer
617 views

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 ...
mr.zog's user avatar
  • 931
0 votes
0 answers
506 views

How to check CentOS installation progress via virt-install method

I am trying to install centos-8 guest vm (over Centos 6.6 host) using kvm/qemu method (virt-install --graphics none) & remote ssh session using putty. While installation is working successfully -...
Vijay Gharge's user avatar
1 vote
1 answer
3k 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> ...
MrCalvin's user avatar
  • 383
0 votes
1 answer
1k 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 -...
PortoFino's user avatar
3 votes
1 answer
3k views

virt-install Couldn't find hvm kernel for Ubuntu tree

I'm trying to create a VM using KVM and virt-installer. When i use virt-install I get the following error: Starting install... Retrieving file .treeinfo... ...
Plee's user avatar
  • 131
1 vote
1 answer
375 views

armhf VM on amd64 with virt-install

I'm trying to install a VM with armhf on an amd64 system with: virt-install -n test2 -r 2048 --os-type=linux --disk ~/armhf.img,device=disk,bus=virtio,size=8,sparse=true,format=raw --os-variant ...
TSwerk's user avatar
  • 11
1 vote
1 answer
2k views

virt-install hangs and won't die. How to stop safely?

I am having a problem where virt-install gets stuck in the very early stages and cant be killed (after saying "starting installation", but before the VM is visible in virt-manager). Ctrl-C does not ...
Stonecraft's user avatar
3 votes
1 answer
9k 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 --...
Codejoy's user avatar
  • 149
0 votes
2 answers
7k views

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=...
Ansari Moinuddin's user avatar
1 vote
3 answers
2k views

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-...
cworner1's user avatar
  • 113
0 votes
0 answers
2k views

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 ...
Brenden E.'s user avatar
2 votes
3 answers
7k views

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 \ --...
reox's user avatar
  • 195
1 vote
1 answer
4k views

virt-install - Couldn't find hvm kernel for Red Hat Enterprise Linux tree [duplicate]

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=...
SpriteCZ's user avatar
2 votes
3 answers
7k views

No progress durign VM installation using a kickstarter file for Centos 7

I am using a kick starter file to install a Centos 7 VM and the progress has nearly stalled without displaying any messages in the terminal. My kickstarter file is placed in /tmp/ks.cfg having the ...
hypersonics's user avatar
2 votes
0 answers
1k views

Ubuntu KVM virsh console domain connects, but does not load console

I installed a copy of Ubuntu 17.04 using virt-install, on my server (non desktop). sudo virt-install --connect qemu:///system -n wiki -r 4096 --vcpus=2 -f /dev/mapper/vgpool-wiki --network=bridge:br0 ...
BobbleHead's user avatar
2 votes
1 answer
2k views

KVM/qemu/libvirt VM PCI Domain/Bus/Slot/Function assignment using virt-install

I am trying to create a VM using the virt-install utility and while that is easy enough to do what I would like to be able to do is proving quite difficult. I would like to be able to specify the ...
Shawn  's user avatar
10 votes
4 answers
28k views

virt-install cannot use ISO file as location

I am using the following script to install a new Fedora Server virtual machine virt-install \ --name theta-1 \ --ram 8000 \ --disk path=/dev/vg/t1.img \ --vcpus 8 \ --os-type linux \ --os-variant ...
Germano Massullo's user avatar
0 votes
1 answer
592 views

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 ...
lievendp's user avatar
1 vote
1 answer
9k 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 ...
robbiedyer's user avatar
0 votes
0 answers
59 views

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 ...
Neil H Watson's user avatar
0 votes
0 answers
530 views

Qcow2 image works with virt-manager, but throws cloud-init error with virt-install

I have CentOS-7-x86_64-GenericCloud-20140929_01.qcow2 image. When i boot it via virt-manager gui, it comes up well. No issues.. But i used virt-install to bring up the same qcow2 image as, virt-...
Saravana Kumar's user avatar
1 vote
1 answer
3k views

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 ...
sashang's user avatar
  • 167
1 vote
0 answers
3k views

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 ...
theillien's user avatar
  • 449
0 votes
1 answer
190 views

virt-manager - reduce guest machine screen height

I am running my Centos7 guest on a Ubuntu 14.04 host machine. On bringing up the guest machine, the guest machine's screen height is more than the host machine's screen size. So, scroll bars appear on ...
Saravana Kumar's user avatar
4 votes
1 answer
4k views

Centos6 with cloud-init takes longer boot time

Centos-6.6 vm image takes almost ten minutes of boot time when ran using virsh. I captured the logs using virsh console. It looks like this, ci-info: +-------+---------------+---------------+---------...
Saravana's user avatar
  • 143
-2 votes
1 answer
188 views

List guest machine names from command prompt

How to list the names of all guest machines from the command line using, virt-install Something like, virt-install list-vms will do?
Saravana's user avatar
  • 143
3 votes
0 answers
3k views

virt-install fully automated install

I'm looking into ways of installing/deploying a VM completely automated (no user interaction). So far I have tried QEMU and virt-install along with QEMU. The issue with qemu is that injecting ...
Harish's user avatar
  • 31
1 vote
1 answer
2k views

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,...
skrtbhtngr's user avatar
0 votes
2 answers
9k views

How do I create an ISO image of a partition on an external hard drive?

I see that there is a similar question with the answer to use BartPE with a plugin, but are there any other methods to create an ISO image from an external hard drive partition? I don't feel too good ...
NobleUplift's user avatar
0 votes
1 answer
208 views

KVM guest setup problems (Ubuntu 12.10)

-The host system that KVM is running on is Ubuntu 12.10. - I am trying to install 12.10 on it as a virtual guest. However, when I issue the virt-install command it replies with this: Starting ...
Autumnal's user avatar
  • 137
3 votes
3 answers
3k views

How to install an Ubuntu 12.04 server VM with virt-install without graphics locally (preferably from an ISO)?

I've seen similar questions here but they don't seem to answer the question, instead deferring to graphical installs or PXE-based installs (and with little detail on the latter for my use case). I ...
MartyMacGyver's user avatar
0 votes
1 answer
352 views

Can't create VM with virt-install on Debian wheezy

Cant find any answers anywhere so here goes. I am trying to CREATE a new virtual machine using the virt-install command from a console on a Debian wheezy install. I keep getting the following output:...
chrismacp's user avatar
  • 103
2 votes
1 answer
3k views

can't install VM using virt-install

I use this command: virt-install -r 1024 --vcpus=2 --accelerate --nographics -n test -f test.img --cdrom /iso/CentOS.iso but I doesn't show the text based install: boot: linux text Loading vmlinuz.....
Zim3r's user avatar
  • 1,504
1 vote
3 answers
7k views

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/...
ale's user avatar
  • 933
2 votes
2 answers
6k views

virt-install kept on adding --no-reboot - even though I don't want it to

I have a bit of a problem getting my guests to reboot after the OS installation using virt-install. For whatever reason, virt-install insists on inserting "--no-reboot" when you create a VM: LC_ALL=...
Rilindo's user avatar
  • 5,088
5 votes
5 answers
2k views

Automated install of Lucid guests on Lucid KVM Server

We have an Ubuntu 10.04 server running KVM very nicely, but are having trouble figuring out the cleanest (and fastest) way to do unattended installs of 10.04 guests. Requirements: Must use LVM ...
mikehapner's user avatar
  • 1,175
0 votes
3 answers
414 views

Access VMs via terminal during installation?

I'm trying to install some Lucid VMs on a Lucid host using virt-install. After I create the image, I want to go through the guest installation without using a GUI, such as virt-manager or VNC. Is ...
Luke has no name's user avatar