summaryrefslogtreecommitdiff
path: root/cloudinit/distros/freebsd.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-09-09 16:20:40 -0400
committerScott Moser <smoser@ubuntu.com>2014-09-09 16:20:40 -0400
commitdae027b74b2b73e34e197f014e3f5220a95a7099 (patch)
tree10dd3cafff6927506df1dcbe66a8fddd25e15bd8 /cloudinit/distros/freebsd.py
parent67efb99bc8e4628e86aef76fed3411c1cc763571 (diff)
parente17823ebeb397110c2163629d9f0f94dbea0c5e4 (diff)
downloadvyos-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.py5
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)