Created
November 3, 2019 20:39
-
-
Save kareiva/1714002486528d24d415ef935e161620 to your computer and use it in GitHub Desktop.
Disable IPv6 on Centos7
This file contains hidden or 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/bash | |
sed -i 's/GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="ipv6.disable=1 /' /etc/default/grub | |
grub2-mkconfig -o /boot/grub2/grub.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment