The debugging output came from line 153, but the config files (which include /etc/vmbuilder.cfg) aren't applied until line 175.
Exactly what does your vmbuilder.cfg look like? Have you looked over https://help.ubuntu.com/community/JeOSVMBuilder#Using%20configuration%20files ? Quoting David Peall ([email protected]): > I've found the bug but am not sure how to fix: > > This code here in cli.py: > > if self.options.config: > config_files.append(self.options.config) > util.apply_config_files_to_context(config_files, distro) > util.apply_config_files_to_context(config_files, hypervisor) > > Only loads settings that are properties of the distro and hypervisor > object, that excludes settings for disk so rootsize, optsize, swapsize > and part are therefore ignored in configurations files. > > -- > You received this bug notification because you are a member of Ubuntu > Virtualisation team, which is subscribed to vm-builder in Ubuntu. > https://bugs.launchpad.net/bugs/1464107 > > Title: > Disk sizing information in the config file ignored > > Status in vm-builder package in Ubuntu: > Confirmed > > Bug description: > I'm running ubuntu 14.10 and 15.04. > > I have tried "rootsize" and the "part" configuration in the > /etc/vmbuilder.cfg and both are ignored. > > When adding the --rootsize, --swapsize or --part cmd line options the > vm is build correctly. > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1464107/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1464107 Title: Disk sizing information in the config file ignored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1464107/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
