~malte.swart/vmbuilder/vmbuilder

« back to all changes in this revision

Viewing changes to VMBuilder/plugins/ubuntu/distro.py

  • Committer: Malte Swart
  • Date: 2015-08-21 01:21:30 UTC
  • Revision ID: launchpad@malteswart.de-20150821012130-6l1e9e8g2jy5vyal
apt: support for now only one additional apt repo / key

The used argument parser splits arguments on : and , Therefor it is
very difficult to process urls as values. Limit to one argument
until real solution is found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        group.add_setting('install-security-mirror', metavar='URL', help='Use the security mirror at URL for installation only. Apt\'s sources.list will still use default or URL set by --security-mirror')
65
65
        group.add_setting('components', type='list', metavar='COMPS', help='A comma seperated list of distro components to include (e.g. main,universe).')
66
66
        group.add_setting('ppa', metavar='PPA', type='list', help='Add ppa belonging to PPA to the vm\'s sources.list.')
67
 
        group.add_setting('extra-repos', metavar='NAME:URL', type='list', help='Add additional debian repos to vm sources.list.d')
68
 
        group.add_setting('extra-aptkeys', metavar='FILE', type='list', help='Local (host) files that should be import into the apt keyring')
 
67
        group.add_setting('extra-repos', metavar='NAME:URL', help='Add additional debian repos to vm sources.list.d')
 
68
        group.add_setting('extra-aptkeys', metavar='FILE', help='Local (host) files that should be import into the apt keyring')
69
69
        group.add_setting('lang', metavar='LANG', default=get_locale(), help='Set the locale to LANG [default: %default]')
70
70
        group.add_setting('timezone', metavar='TZ', default='UTC', help='Set the timezone to TZ in the vm. [default: %default]')
71
71