Commit e51919dd4100c55ab6e17497a950e57003ae71f6
1 parent
26a91470
Exists in
master
and in
90 other branches
vagrant box: allow `ssh <HOST> sudo <CMD>`
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
utils/centos6-vagrant-lxc/vagrant-setup
@@ -38,3 +38,4 @@ cat > $fs/etc/sudoers.d/vagrant <<EOF | @@ -38,3 +38,4 @@ cat > $fs/etc/sudoers.d/vagrant <<EOF | ||
38 | vagrant ALL=(ALL) NOPASSWD:ALL | 38 | vagrant ALL=(ALL) NOPASSWD:ALL |
39 | EOF | 39 | EOF |
40 | chmod 0440 $fs/etc/sudoers.d/vagrant | 40 | chmod 0440 $fs/etc/sudoers.d/vagrant |
41 | +sed -i -e '/Defaults\s*requiretty/ d' $fs/etc/sudoers |