boot_tiny/reg
2024-01-24 10:04:43 +01:00

11 lines
314 B
Plaintext

echo -n "new hostname: "
read hostname
sudo hostname $hostname
echo "address of leftmost socket eth0 (for control box):"
ifconfig | grep eth0
echo " "
echo "address of rightmost socket (for bare apu):"
ifconfig | grep eth3
echo " "
echo "register $hostname to packet fence and connect LAN to corresponding socket"