I've got to upgrade some remote machines that I only have access via ssh.
I've been using a script based on the "Upgrade without install kernel"
for years. I modified it slightly for this upgrade by adding
/usr/sbin/pwd_mkdb /etc/master.passwd
to /etc/rc.local so the password databases can be updated and I can log
in after the first reboot.
But how do I make the remote system reboot? Attempting to use the
/sbin/oreboot file I made in accordance to the "Upgrade without install
kernel" method fails with a "Bad system call (core dump)" error, as does
trying *any* command after base is extracted.
In the two systems I just upgraded (a pair of CARPed firewalls) I had a
person on-site that could power-down the system I just updated but I
have a few out there in the wild where that is more problematic--not
impossible, but definitely inconvenient.
What am I missing?
Thanks,
Jeff Ross