Skip to content

Instantly share code, notes, and snippets.

@n0ts
Last active January 4, 2016 13:58
Show Gist options
  • Save n0ts/8631066 to your computer and use it in GitHub Desktop.
Save n0ts/8631066 to your computer and use it in GitHub Desktop.
Disable Service for CentOS 6 on VM
while read SERVICE
do
service $SERVICE stop
chkconfig $SERVICE off
done << EOL
ip6tables
iptables
netfs
EOL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment