Change boot next before shutdown

This commit is contained in:
Khue Doan 2020-11-04 23:37:04 +07:00
parent a248fc537f
commit 77162b83ea

View File

@ -1,6 +1,6 @@
#!/bin/sh
ssh root@node0.homelab.local poweroff
ssh root@node1.homelab.local poweroff
ssh root@node2.homelab.local poweroff
ssh root@node3.homelab.local poweroff
ssh root@node0.homelab.local 'efibootmgr --bootnext 0006 && poweroff'
ssh root@node1.homelab.local 'efibootmgr --bootnext 0006 && poweroff'
ssh root@node2.homelab.local 'efibootmgr --bootnext 0006 && poweroff'
ssh root@node3.homelab.local 'efibootmgr --bootnext 0006 && poweroff'