Questions tagged [vmbuilder]

11 questions
11
votes
3 answers

Is there a modern equivalent of python-vm-builder?

I'm trying to find the best-practice, modern way of doing what I used to do with python-vm-builder (aka ubuntu-vm-builder). I want a scripted, repeatable way to start from something like ubuntu-core (aka the artist formerly known as JeOS ), add some…
jderose
  • 669
3
votes
3 answers

dpkg: error processing package sudo (--configure)

I'm trying to set up a VM network using vmbuilder. When setting it up using Ubuntu 12.04 there are no problems. However, when trying any of the newer LTS (14.04 or 16.04) i get the following error when I try to build my KVM: Configuration file…
PHG
  • 31
1
vote
0 answers

vmbuilder won't build "trusty" (14.04 LTS)

I can use this command to create a working VM running the "precise" (12.04 LTS) Ubuntu release: vmbuilder kvm ubuntu -v --suite=precise \ --libvirt=qemu:///system --arch=amd64 \ --cpus=2 --mem=2047 --swapsize=4096 --rootsize=71680 --flavour=server \…
oz1cz
  • 942
  • 2
  • 8
  • 19
1
vote
1 answer

ubuntu-vm-builder and first-login interactive script

I'm using ubuntu-vm-builder to create disk image on-the-fly. I want to use a script to change user keyboard on first login with --firstlogin argument with the following script : #!/bin/bash # Running reconfigure of console-data to change keyboard…
0
votes
1 answer

Create a 16.04 KVM guest on 14.04

I have a 14.04 host running a bunch of 14.04 guest VM's with KVM. I've used vmbuilder to build these guests. I'd like to also create a 16.04 guest VM on this host. But I see that xenial is not a valid suite option for vmbuilder . Is it possible to…
Sean Lynch
  • 270
  • 1
  • 3
  • 9
0
votes
1 answer

Ubuntu Server can't boot

I have created an Ubuntu 16.04 Server image with python-vm-builder but when booting it hangs at Booting from Hard Disk . Here's the vmbuilder log: http://termbin.com/bkar What is wrong? UPDATE: fstab: # <file system> <mount point> <type> <options>…
macurie
  • 158
0
votes
1 answer

vmbuilder and Ubuntu 14.04 LTS

I am trying to build a Ubuntu 14.04 image with vmbuilder like this: vmbuilder kvm ubuntu -o -v --suite trusty --arch amd64 --rootsize 9216 --user testuser --pass testpass --hostname test --addpkg libjson-perl --addpkg liburi-encode-perl --addpkg…
macurie
  • 158
0
votes
1 answer

How do I create a kvm guest running ubuntu server with a >2TB harddrive?

I have an Ubuntu server running as a kvm host. The host has three 1.5TB disks and the host uses lvm and has a 4TB volume group, on which I've created a 3 TB logical volume called nfsserver. I want to create a guest running ubuntu server, which I'll…
0
votes
2 answers

I can't create more than one virtual machine with vmbuilder

I'm testing the creation of virtual machines with Ubuntu. The first virtual machine was created with the default settings and is called ubuntu : virsh --connect qemu:///system list --all Id Name State…
0
votes
1 answer

How can I create Ubuntu bionic or focal Vm's using Vmbuilder tool?

The project I've been working on uses VmBuilder ( https://launchpad.net/vmbuilder ) tool to create custom Xenial images that were then packaged into ovf using ovftool to run on VmWare Exsi hypervisor. Recent requirement changes requires the newer…
0
votes
3 answers

How do I non-interactively provision ubuntu virtual machines using `libvirt`?

Previously (some years back) I have used vmbuilder , but this now seems to be unmaintained and cannot be used with newer ubuntu versions. I have also tried vagrant with vagrant-libvirt plugin , apart from this method requires a huge amount of…