Skip to content

Commit

Permalink
Merge pull request #740 from mvermaes/remove-unneeded-requiretty-lines
Browse files Browse the repository at this point in the history
Remove CentOS requiretty sudoers workaround, this is now the default
  • Loading branch information
Seth Thomas authored Dec 19, 2016
2 parents 3632c7f + 6804a90 commit 30c49ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion http/centos-6.8/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,3 @@ nfs-utils
sed -i -e 's/\(^SELINUX=\).*$/\1permissive/' /etc/selinux/config
# sudo
echo "%vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/vagrant
sed -i "s/^[^#].*requiretty/#Defaults requiretty/" /etc/sudoers
1 change: 0 additions & 1 deletion http/centos-7.3/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,4 @@ bzip2
%post
# sudo
echo "%vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/vagrant
sed -i "s/^[^#].*requiretty/#Defaults requiretty/" /etc/sudoers
%end

0 comments on commit 30c49ca

Please sign in to comment.