diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-09-09 16:20:40 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-09-09 16:20:40 -0400 |
commit | dae027b74b2b73e34e197f014e3f5220a95a7099 (patch) | |
tree | 10dd3cafff6927506df1dcbe66a8fddd25e15bd8 /cloudinit/distros/freebsd.py | |
parent | 67efb99bc8e4628e86aef76fed3411c1cc763571 (diff) | |
parent | e17823ebeb397110c2163629d9f0f94dbea0c5e4 (diff) | |
download | vyos-cloud-init-dae027b74b2b73e34e197f014e3f5220a95a7099.tar.gz vyos-cloud-init-dae027b74b2b73e34e197f014e3f5220a95a7099.zip |
merge from trunk
Diffstat (limited to 'cloudinit/distros/freebsd.py')
-rw-r--r-- | cloudinit/distros/freebsd.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cloudinit/distros/freebsd.py b/cloudinit/distros/freebsd.py index 42ef2290..849834eb 100644 --- a/cloudinit/distros/freebsd.py +++ b/cloudinit/distros/freebsd.py @@ -37,6 +37,7 @@ class Distro(distros.Distro): login_conf_fn = '/etc/login.conf' login_conf_fn_bak = '/etc/login.conf.orig' resolv_conf_fn = '/etc/resolv.conf' + ci_sudoers_fn = '/usr/local/etc/sudoers.d/90-cloud-init-users' def __init__(self, name, cfg, paths): distros.Distro.__init__(self, name, cfg, paths) @@ -219,10 +220,6 @@ class Distro(distros.Distro): util.logexc(LOG, "Failed to lock user %s", name) raise e - # TODO: - def write_sudo_rules(self, name, rules, sudo_file=None): - LOG.debug("[write_sudo_rules] Name: %s", name) - def create_user(self, name, **kwargs): self.add_user(name, **kwargs) |