How to know the network name
Karl Auer
kauer at biplane.com.au
Sat Oct 23 23:28:32 UTC 2021
On Sat, 2021-10-23 at 17:14 -0400, Jerry Geis wrote:
> The system(s) are remote - can't do that - got one shot so to speak.
How important are the systems? And how much are you being paid to do
this? :-)
A one-shot, with no workable reversion strategy, is a recipe for
disaster. There are so many things that can trip you up, and not all of
them are testable. Find out a way to have multiple shots. For example,
install the same version of CentOS into a virtual and experiment on the
virtual, restoring it after any failures.
For changes that a reboot can undo, investigate using "at" to reboot
the system. The idea is that you set the system up to boot ten minutes
from now, make your change, and if you are then unable to reach the
system and prevent a reboot, it will recover in ten minutes.
echo "reboot" | at now + 10 minutes
If the change you make is reversible on the command line, you can also
use "at" to revert the change directly.
Obviously run the command as root and check manually that the command
works before actually making a change that might need it.
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
GPG fingerprint: 61A0 99A9 8823 3A75 871E 5D90 BADB B237 260C 9C58
Old fingerprint: 2561 E9EC D868 E73C 8AF1 49CF EE50 4B1D CCA1 5170
More information about the ubuntu-users
mailing list