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

remote shutdown command does not work #6

Closed
akihitoiwai0912 opened this issue Mar 4, 2025 · 1 comment
Closed

remote shutdown command does not work #6

akihitoiwai0912 opened this issue Mar 4, 2025 · 1 comment

Comments

@akihitoiwai0912
Copy link

Tried to shutdown using blueprint command remotely. But it encountered this error. Any problems?

denso@Z0003255709:~/soafee-avp-blueprint$ ./blueprint shell soafee-avp-render 'sudo shutdown -h now'
===> ssh shell on 'soafee-avp-render' with command 'sudo shutdown -h now'

ssh: Could not resolve hostname soafee-avp-render: Name or service not known
denso@Z0003255709:~/soafee-avp-blueprint$ 
denso@Z0003255709:~/soafee-avp-blueprint$ ./blueprint show-hosts
soafee-xronos-dashboard 13.216.154.13
soafee-avp-render 44.212.185.19
soafee-avp-ewaol 54.209.89.109
soafee-avp-builder 44.213.36.212
@elgeeko1
Copy link
Collaborator

elgeeko1 commented Mar 6, 2025

The instructions assume the local-ssh command has been run. Instead, that function can do a hostname lookup rather than depend on the local SSH configuration. I'll update this in the next few days.

The instances can always be shut down from the AWS console.

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