[Bug 550680] [NEW] --part fails on trailing newline

Paul Sladen ubuntu at paul.sladen.org
Mon Mar 29 06:39:01 BST 2010


Public bug reported:

Having a trailing newline in the partition table passed to vmbuilder
with --part results in:

  File "/usr/bin/vmbuilder", line 29, in <module>
    VMBuilder.run()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/__init__.py", line 64, in run
    frontend.run()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 68, in run
    self.set_disk_layout(vm)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 127, in set_disk_layout
    vm.add_filesystem(elements[1], type='ext3', mntpnt=elements[0])

Ideally --part should cope with the (*normal*) situation of having a
newline at the end of a text file.

** Affects: vm-builder (Ubuntu)
     Importance: Undecided
         Status: New

-- 
--part fails on trailing newline
https://bugs.launchpad.net/bugs/550680
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.



More information about the Ubuntu-server-bugs mailing list