diff options
author | Vlastimil Holer <vlastimil.holer@gmail.com> | 2014-01-31 15:40:55 +0100 |
---|---|---|
committer | Vlastimil Holer <vlastimil.holer@gmail.com> | 2014-01-31 15:40:55 +0100 |
commit | 34fbd44dce07d1d1d92e679fd038610a28470896 (patch) | |
tree | 3705f79a86c6d5da697c3ca46af70a3b131c8035 /packages | |
parent | 4db247ed76aa1e49919ef58b9f7ae6ec3dfe2296 (diff) | |
download | vyos-cloud-init-34fbd44dce07d1d1d92e679fd038610a28470896.tar.gz vyos-cloud-init-34fbd44dce07d1d1d92e679fd038610a28470896.zip |
Added config for sudo. Apply sudo config in RPM for Red Hat.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/redhat/cloud-init.spec.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/redhat/cloud-init.spec.in b/packages/redhat/cloud-init.spec.in index fa6eb9c5..fd0da97c 100644 --- a/packages/redhat/cloud-init.spec.in +++ b/packages/redhat/cloud-init.spec.in @@ -92,6 +92,9 @@ mkdir -p \$RPM_BUILD_ROOT/%{_sysconfdir}/rsyslog.d cp -p tools/21-cloudinit.conf \ \$RPM_BUILD_ROOT/%{_sysconfdir}/rsyslog.d/21-cloudinit.conf +mkdir -p \$RPM_BUILD_ROOT/%{_sysconfdir}/sudoers.d +cp -p tools/sudo \$RPM_BUILD_ROOT/%{_sysconfdir}/sudoers.d/cloud-init + %clean rm -rf \$RPM_BUILD_ROOT @@ -180,6 +183,7 @@ fi %dir %{_sysconfdir}/cloud/templates %config(noreplace) %{_sysconfdir}/cloud/templates/* %config(noreplace) %{_sysconfdir}/rsyslog.d/21-cloudinit.conf +%config(noreplace) %{_sysconfdir}/sudoers.d/cloud-init # Python code is here... %{python_sitelib}/* |