~smoser/cloud-init/lp-1077700

« back to all changes in this revision

Viewing changes to cloudinit/distros/__init__.py

  • Committer: Joshua Harlow
  • Date: 2012-10-23 14:54:40 UTC
  • Revision ID: harlowja@gmail.com-20121023145440-t5k4m41a62oszk1s
No need for the get default
users groups function when
its provided by the get user
function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
    def get_default_user(self):
176
176
        return self.get_option('default_user')
177
177
 
178
 
    def get_default_user_groups(self):
179
 
        return self.get_option('default_user_groups')
180
 
 
181
178
    def create_user(self, name, **kwargs):
182
179
        """
183
180
            Creates users for the system using the GNU passwd tools. This