summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-02-10 15:48:41 -0500
committerScott Moser <smoser@ubuntu.com>2014-02-10 15:48:41 -0500
commit485f790e712dfd317a21e10ef17e231bcabaf910 (patch)
tree15903be43eec6969e7997ecc2c36f0a6890f787e
parent2f14aa401ca1dd1d202e4b1abb4292b0d30c2c36 (diff)
downloadvyos-cloud-init-485f790e712dfd317a21e10ef17e231bcabaf910.tar.gz
vyos-cloud-init-485f790e712dfd317a21e10ef17e231bcabaf910.zip
remove the 'tools/sudo' file and references in cloud-init.spec.in
I'm not really sure what the function of tools/sudo was, and it was definitely not required for fixing the rpm build.
-rw-r--r--packages/redhat/cloud-init.spec.in2
-rw-r--r--tools/sudo3
2 files changed, 0 insertions, 5 deletions
diff --git a/packages/redhat/cloud-init.spec.in b/packages/redhat/cloud-init.spec.in
index a32e19d8..0e9862d8 100644
--- a/packages/redhat/cloud-init.spec.in
+++ b/packages/redhat/cloud-init.spec.in
@@ -91,8 +91,6 @@ rm -rf \$RPM_BUILD_ROOT
mkdir -p \$RPM_BUILD_ROOT/%{_sysconfdir}/rsyslog.d
cp -p tools/21-cloudinit.conf \
\$RPM_BUILD_ROOT/%{_sysconfdir}/rsyslog.d/21-cloudinit.conf
-install -Dpm 440 tools/sudo \
- \$RPM_BUILD_ROOT/%{_sysconfdir}/sudoers.d/cloud-init
%clean
rm -rf \$RPM_BUILD_ROOT
diff --git a/tools/sudo b/tools/sudo
deleted file mode 100644
index af2f3317..00000000
--- a/tools/sudo
+++ /dev/null
@@ -1,3 +0,0 @@
-Cmnd_Alias CI = /bin/bash
-root ALL=(nobody) NOPASSWD: CI
-Defaults!CI !requiretty