Skip to content

Idea: Shutdown machines in linbo_sync #209

@dorianim

Description

@dorianim

Hi,

I think, it might be a nice to have feature to be able to shut down machines in Linbo_sync. It could work like this:

  • Linbo: ssh -o ConnectTimeout=2 -o StrictHostKeyChecking=no -p 2222 root@$IP /sbin/poweroff
  • Linux: ssh -o ConnectTimeout=2 -o StrictHostKeyChecking=no root@$IP shutdown now
  • Windows: net rpc -S $IP -U global-admin%$PASSWORD shutdown -t 1 -f

For windows, it might be possible to use the --use-kerberos parameter. If that does not work, the user has to input their password. (see the docs)

Regards,
Dorian

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions