vmbuilder create ubuntu-kvm directory even when using --raw
Bug #569530 reported by
Simon Huerlimann
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
When calling vmbuilder with --raw, it still creates a directory <distro>
#!/bin/sh
exec kvm -m 2048 -smp 1 -drive file=kvm-web03.demo "$@"
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: python-vm-builder 0.12.3-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-21-server x86_64
Architecture: amd64
Date: Sat Apr 24 13:48:24 2010
InstallationMedia: Ubuntu-Server 10.04 "Lucid Lynx" - Alpha amd64 (20100410)
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: vm-builder
Changed in vm-builder (Ubuntu): | |
status: | Incomplete → Confirmed |
To post a comment you must log in.
This is especially tricky as it won't let you create two raw vms (without specifying --destdir) in a row from the same directory. This is the output for the second run:
2010-04-25 06:21:52,984 ERROR : ubuntu-kvm already exists vmbuilder" , line 24, in <module> python2. 6/dist- packages/ VMBuilder/ contrib/ cli.py" , line 81, in main ror('%s already exists' % destdir) exception. VMBuilderUserEr ror: ubuntu-kvm already exists
Traceback (most recent call last):
File "/usr/bin/
cli.main()
File "/usr/lib/
raise VMBuilderUserEr
VMBuilder.