[Bug 1464107] Re: Disk sizing information in the config file ignored

Serge Hallyn 1464107 at bugs.launchpad.net
Mon Jun 15 15:46:43 UTC 2015


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 (1464107 at bugs.launchpad.net):
> 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
Server Team, which is subscribed to vm-builder in 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



More information about the Ubuntu-server-bugs mailing list