~ilowe/vmbuilder/unittest-coverage

« back to all changes in this revision

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

  • Committer: Soren Hansen
  • Date: 2009-08-07 16:14:27 UTC
  • mfrom: (324.1.1 vmbuilder.timezone)
  • Revision ID: soren@canonical.com-20090807161427-k4kd1hzlsesm5xbh
Merge timezone fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
        group.add_option('--components', metavar='COMPS', help='A comma seperated list of distro components to include (e.g. main,universe).')
63
63
        group.add_option('--ppa', metavar='PPA', action='append', help='Add ppa belonging to PPA to the vm\'s sources.list.')
64
64
        group.add_option('--lang', metavar='LANG', default=self.get_locale(), help='Set the locale to LANG [default: %default]')
65
 
        group.add_option('--timezone', action='store_true', help='Set the timezone to the vm.')
 
65
        group.add_option('--timezone', METAVAR='TZ', default='UTC', help='Set the timezone to TZ in the vm. [default: %default]')
66
66
        self.vm.register_setting_group(group)
67
67
 
68
68
        group = self.vm.setting_group('Settings for the initial user')