Rebooting a BOSH vm


Satheesh Uppalapati
 

I am working on a script to "hard reboot" multiple BOSH vms instead of "soft restart". Are there any better alternatives than the following command?

`bosh ssh vm_name/0 "sudo reboot"`

Thanks
Satheesh


Dmitriy Kalinin
 

typically instead of rebooting we just run bosh recreate [x] which deletes vm, and creates new one in its place. running 'sudo reboot' is also fine if necessary.

Sent from my iPhone

On Jan 10, 2017, at 8:35 AM, Satheesh Uppalapati <suppb(a)allstate.com> wrote:

I am working on a script to "hard reboot" multiple BOSH vms instead of "soft restart". Are there any better alternatives than the following command?

`bosh ssh vm_name/0 "sudo reboot"`

Thanks
Satheesh