Options 'destdir' and 'tmpfs' ignored in config file

Bug #1201996 reported by Jeffrey Wildman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
New
Medium
Unassigned

Bug Description

vmbuilder options 'destdir' and 'tmpfs' work when I supply them via command line:

$sudo vmbuilder kvm ubuntu --debug --dest /opt/vms --tmpfs -

The debug output shows tmpfs being created and mounted, and the supplied output directory for the vm is used.

However, supplying them within a configuration file does not appear to work:

------------------------------
[DEFAULT]
tmpfs = -
destdir = /opt/vms
------------------------------

No mention of tmpfs appears at the same place in the debug as before, and the supplied output directory for the vm image is ignored.

System details:

>$ lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04

>$ apt-cache policy ubuntu-vm-builder
ubuntu-vm-builder:
  Installed: 0.12.4+bzr482-0ubuntu1
  Candidate: 0.12.4+bzr482-0ubuntu1
  Version table:
 *** 0.12.4+bzr482-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
        100 /var/lib/dpkg/status

Changed in vm-builder (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Jeffrey Wildman (jeffrey-wildman) wrote :

Similarly, the '--templates' option also appears to be ignored within the configuration file, but works fine via command line.

------------------------------
[DEFAULT]
templates = /path/to/templates/directory
------------------------------

Should I update the bug title?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.