/go/interfaces prepares a Debian server's network configuration for Proxmox VE. Proxmox VMs need a bridge, so the command moves the server's IP address from the physical network card onto a bridge named vmbr0. It: The command only writes files. It doesn't apply them, so nothing changes on the running network until you reload the network settings or reboot. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Generate the new file
/go/interfaces
# Check it, and compare it with the original
cat /etc/network/interfaces
diff /etc/network/interfaces.bak /etc/network/interfaces
Examples
# Generate the Proxmox network file
/go/interfaces
# Review the result
cat /etc/network/interfaces
cat /etc/dhcp/dhcpd.conf
# Go back to the original network file
cp /etc/network/interfaces.bak /etc/network/interfaces
Output
The command prints nothing and exits with code 0, even if the file it wrote is wrong. Always read the result.
Logging
Every run is appended to /var/log/go/interfaces.log.
Backup
The first run copies /etc/network/interfaces to /etc/network/interfaces.bak. Later runs do not replace the copy, and always read the old settings from it: the address length, the gateway, the netmask, the subnet route, and the name of the network card. Keep the original backup. If you delete it and run the command again, the settings are read from the file that the command wrote last, which doesn’t contain all of them.
See the full reference at /go/interfaces and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
