ubuntu-vm-builder fails for --dest arguments with spaces

Bug #305190 reported by Jean-Paul Calderone
2
Affects Status Importance Assigned to Milestone
ubuntu-vm-builder (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: ubuntu-vm-builder

When invoking ubuntu-vm-builder like this:

  sudo ubuntu-vm-builder qemu hardy -d 'Foo Bar'

there is eventually a failure:
  ...
  Searching for GRUB installation directory ... found: /boot/grub
  findfs: Unable to resolve 'UUID=0feead7e-a69e-4b64-9441-05c4872d8bf1'
  Cannot determine root device. Assuming /dev/hda1
  This error is probably caused by an invalid /etc/fstab
  Searching for default file ... found: /boot/grub/default
  Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
  Searching for splash image ... none found, skipping ...
  Found kernel: /boot/vmlinuz-2.6.24-16-virtual
  Updating /boot/grub/menu.lst ... done

  Searching for GRUB installation directory ... found: /boot/grub
  umount target
  mv: target `Bar' is not a directory
  Done. Images are in /tmp/Foo Bar.

The destination, "/tmp/Foo Bar", ends up empty. I am using ubuntu-vm-builder 0.4-0ubuntu0.1 on Hardy.

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.