Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable SHUTDOWN_COMMAND is unused #5

Open
GeReV opened this issue Nov 19, 2024 · 1 comment
Open

Variable SHUTDOWN_COMMAND is unused #5

GeReV opened this issue Nov 19, 2024 · 1 comment

Comments

@GeReV
Copy link

GeReV commented Nov 19, 2024

The variable defined in the config here actually goes unused in shutdown-hosts here, and the command is simply hardcoded:

COMMAND=( ssh -o "StrictHostKeyChecking no" "$SHUTDOWN_USERNAME@$IP_PREFIX.${HOST_TO_NUMBER[$MACHINE]}" -- 'shutdown /p /f' )

Just wanted to point that out, if this was not intended. Hope this helps.

P.S. Amazing stuff!

@kentonv
Copy link
Owner

kentonv commented Nov 25, 2024

Nice catch! Yeah that's clearly a bug. I will fix it... at some point. :)

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

No branches or pull requests

2 participants