Skip to content

Update server-power-cycle.sh: add ability to change server name#1

Open
kostia-lb wants to merge 2 commits intogagan-lb:mainfrom
kostia-lb:patch-1
Open

Update server-power-cycle.sh: add ability to change server name#1
kostia-lb wants to merge 2 commits intogagan-lb:mainfrom
kostia-lb:patch-1

Conversation

@kostia-lb
Copy link

Added ability to change servername from server00 to anything via variable at top of script.
It creates an extra server.name file.
Additionally, all created scripts check for server.name existence. If missing they exit out with error.

TODO: please test though

Missed last server00 entry.
Also updated logging to append message to error.txt and have date as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant