Last active
December 16, 2015 00:10
-
-
Save zaininnari/5345918 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/bin/sed -i 's/ONBOOT="no"/ONBOOT="yes"/g' /etc/sysconfig/network-scripts/ifcfg-eth0 | |
service networking restart | |
/bin/sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication no/g' /etc/ssh/sshd_config | |
service sshd reload | |
yum -y install sudo | |
yum -y groupinstall "Development Tools" | |
groupadd vagrant | |
useradd vagrant -g vagrant -G wheel | |
echo "vagrant"|passwd --stdin vagrant | |
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment