Questions tagged [virt-install]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

memory ballooning kvm virt-install maxmemory

Been doing a bit of reading on this and worked out it means the VM starts with --memeory and can hotplug extra memory up to MaxMemory if needed. I.e. use --memory 512,MaxMemory=1536 But reading up ...
0
votes
0answers
16 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 -...
0
votes
0answers
13 views

Install Ubuntu 18.04 with virt-install create disk very slow

I want to create a VM with Ubuntu 18.04 using virt-install like sudo virt-install -n MyVM --description "VM for me" --os-type=Linux --os-variant=ubuntu18.04 --ram=4096 --vcpus=4 --disk path=/...
1
vote
1answer
22 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
1answer
91 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 -...
1
vote
0answers
148 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... ...
1
vote
1answer
64 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 ...
1
vote
1answer
292 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 ...
3
votes
1answer
980 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 --...
0
votes
1answer
409 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=...
0
votes
1answer
143 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-...
0
votes
0answers
274 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 ...
1
vote
2answers
2k 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 \ --...
1
vote
1answer
3k 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=...
0
votes
1answer
2k 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 ...
2
votes
0answers
674 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 ...
1
vote
1answer
951 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 ...
1
vote
4answers
9k 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 ...
0
votes
1answer
289 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 ...
1
vote
1answer
4k 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 ...
0
votes
0answers
50 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 ...
0
votes
0answers
319 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-...
1
vote
1answer
1k 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 ...
1
vote
0answers
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 ...
0
votes
1answer
136 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 ...
1
vote
1answer
3k 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: +-------+---------------+---------------+---------...
-2
votes
1answer
164 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?
3
votes
0answers
2k 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 ...
1
vote
1answer
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,...
0
votes
2answers
8k 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 ...
0
votes
1answer
176 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 ...
3
votes
3answers
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 ...
0
votes
1answer
340 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:...
2
votes
1answer
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.....
1
vote
3answers
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/...
2
votes
2answers
4k 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=...
5
votes
5answers
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 ...
0
votes
3answers
390 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 ...