diff --git a/howto/upgrades.md b/howto/upgrades.md index 4358bf2e4e92aaef6c804a5f55c5b931e20d1522..69bff7bc534137662d32cab1cee40154cec74201 100644 --- a/howto/upgrades.md +++ b/howto/upgrades.md @@ -177,11 +177,11 @@ currently can't unlock itself, naturally. This routine should be able to reboot all hosts with a `rebootPolicy` defined to `justdoit` or `rotation`: - echo "rebooting 'justdoit' hosts with a 10-minute delay, every 30 minutes...." - ./reboot -H $(ssh alberti.torproject.org 'ldapsearch -h db.torproject.org -x -ZZ -b ou=hosts,dc=torproject,dc=org -LLL "(rebootPolicy=justdoit)" hostname | awk "\$1 == \"hostname:\" {print \$2}" | sort -R') --delay-hosts=1800 --delay-shutdown=10 -v + echo "rebooting 'justdoit' hosts with a 10-minute delay, every 2 minutes...." + ./reboot -H $(ssh alberti.torproject.org 'ldapsearch -h db.torproject.org -x -ZZ -b ou=hosts,dc=torproject,dc=org -LLL "(rebootPolicy=justdoit)" hostname | awk "\$1 == \"hostname:\" {print \$2}" | sort -R') --delay-shutdown=10 -v echo "rebooting 'rotation' hosts with a 10-minute delay, every 30 minutes...." - ./reboot -H $(ssh alberti.torproject.org 'ldapsearch -h db.torproject.org -x -ZZ -b ou=hosts,dc=torproject,dc=org -LLL "(rebootPolicy=rotation)" hostname | awk "\$1 == \"hostname:\" {print \$2}" | sort -R') --delay-hosts=1800 --delay-shutdown=10 -v + ./reboot -H $(ssh alberti.torproject.org 'ldapsearch -h db.torproject.org -x -ZZ -b ou=hosts,dc=torproject,dc=org -LLL "(rebootPolicy=rotation)" hostname | awk "\$1 == \"hostname:\" {print \$2}" | sort -R') --delay-shutdown=10 --delay-hosts=1800 -v ### Rebooting KVM hosts