Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [virt-install]

The tag has no usage guidance.

0
votes
0answers
74 views

How to make virt-install do an unattended install with an image that installs unattended on real hardware?

I built an Ubuntu 16.04 installation image. It reliably installs unattended on real computers--no preseed file, no human input. When I try to install this image in a KVM/qemu virtual machine, I must ...
1
vote
1answer
310 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 \ --...
0
votes
1answer
1k 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
344 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
317 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
375 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
2answers
3k 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
194 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
3k 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
31 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
244 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-...
0
votes
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
2k 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
118 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
2k 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
97 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
7k 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
173 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
330 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
3k 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=...
4
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
388 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 ...