Project

General

Profile

« Previous | Next » 

Revision 615d47ae

Added by Alexis Mousset almost 7 years ago

Fixes #10640: Thell the user a node needs to be removed from the server when running a factory-reset

View differences:

share/commands/agent-factory-reset
if [ ${FORCE} -eq 0 ]
then
echo "Reinitializing a node removes its UUID, its keys and its associated directives!"
echo "You will need to remove this node from the server and accept it again if it was already accepted."
echo "Do yo really want to do it?"
echo "Type ctrl-c to abort now or enter to continue"
read a

Also available in: Unified diff