Questions tagged [virt-install]

43 questions
8
votes
4 answers

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 fedora25 \ --network bridge=br0 \ --graphics none…
Germano Massullo
  • 193
  • 2
  • 4
  • 16
5
votes
5 answers

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 volumes for the guests' storage (without some…
mikehapner
  • 1,165
  • 10
  • 9
3
votes
1 answer

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 --ram 1000 --os-variant=centos7.0…
Codejoy
  • 67
  • 3
  • 13
3
votes
0 answers

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 kickstart file has to be injected manually. On the…
Harish
  • 31
  • 1
  • 2
3
votes
3 answers

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 want to create a VM in Ubuntu 12.04 with the Ubuntu…
MartyMacGyver
  • 167
  • 3
  • 11
3
votes
0 answers

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
  • 131
  • 3
2
votes
0 answers

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 --nographics --accelerate --location…
2
votes
1 answer

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 domain/bus/slot/function of the ethernet interfaces…
Shawn  
  • 33
  • 6
2
votes
1 answer

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: +-------+---------------+---------------+---------------+-----------+-------+ ci-info: | Route | …
Madhavan
  • 123
  • 1
  • 7
2
votes
1 answer

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................................. Loading…
Zim3r
  • 1,384
  • 5
  • 23
  • 45
2
votes
2 answers

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=C PATH=/sbin:/usr/sbin:/bin:/usr/bin…
2
votes
1 answer

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 virt-install and virsh console use the entire…
Sandra
  • 9,973
  • 37
  • 104
  • 160
1
vote
1 answer

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 debian10 --vnc --location…
TSwerk
  • 11
  • 1
1
vote
1 answer

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 work to cancel virt-install, and systemctl restart…
Stonecraft
  • 243
  • 2
  • 4
  • 15
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
  • 5
1
2 3