Skip to content

Commit

Permalink
Merge pull request CentOS#88 from mvermaes/remove-unneeded-requiretty…
Browse files Browse the repository at this point in the history
…-lines

Remove code that disables requiretty, which is now the default
  • Loading branch information
kbsingh authored Dec 15, 2016
2 parents 773c8f5 + ea10f35 commit 5162d86
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion vagrant/centos6.ks
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ tuned
# sudo
echo "%vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/vagrant
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
# Fix for https://github.com/CentOS/sig-cloud-instance-build/issues/38
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
Expand Down
1 change: 0 additions & 1 deletion vagrant/centos7.ks
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ yum-utils
# sudo
echo "%vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/vagrant
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
# Fix for https://github.com/CentOS/sig-cloud-instance-build/issues/38
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
Expand Down

0 comments on commit 5162d86

Please sign in to comment.