Skip to content

Instantly share code, notes, and snippets.

Last active Jun 20, 2022
What would you like to do?
PROXMOX: Apply network settings without reboot.
if [[ "$EUID" -ne 0 ]]; then
echo "Permission denied"
exit 1
cp /etc/network/interfaces /etc/network/
systemctl restart networking.service
echo "[ + ] Configuration updated."
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment