cp /dev/null "${f}"
fi
done
+
+ echo
+ echo "-----------------------------------------------------------"
+ echo "Current network configuration:"
+ echo
+ /usr/sbin/ip address show
+ echo
+ echo "Current routing configuration:"
+ echo
+ /usr/sbin/ip route show
+ echo
+
""").replace('@@@LOGFILES@@@', ' '.join(logfiles))
result = self.exec_remote(cmd)
echo "Removing rhgb (RedHat Graphical Boot) from '${grub_cfg}' ..."
sed --in-place -e 's/^\(GRUB_CMDLINE_LINUX=.*\)[ ]rhgb\(.*\)/\1\2/' "${grub_cfg}"
+ echo "Disabling IPv6 in '${grub_cfg}' ..."
+ sed --in-place -e 's/^\(GRUB_CMDLINE_LINUX=.*\)"$/\1 ipv6.disable=1"/' "${grub_cfg}"
+
+ echo
+ echo "Current Linux command line in '${grub_cfg}':"
+ grep '^GRUB_CMDLINE_LINUX=' "${grub_cfg}"
+ echo
+
echo "Recreating /boot/grub2/grub.cfg ..."
grub2-mkconfig -o /boot/grub2/grub.cfg