Commit 68cb2eb8 authored by Alban Bruder's avatar Alban Bruder

Wait 10 seconds to reboot

parent a89e1255
......@@ -259,7 +259,9 @@ def local(force, report, username, password, hostname, address, gateway, interfa
nocloud=NOCLOUD_SOURCE, parameters=stringify_parameters(parameters)))
"chmod +x /etc/grub.d/99_reset && update-grub && grub-reboot 'Install Ubuntu' && reboot", shell=True).wait()
"chmod +x /etc/grub.d/99_reset && update-grub && grub-reboot 'Install Ubuntu' && (sleep 10; reboot) &", shell=True).wait()"Reboot in 10 seconds...")
@reset_ws.command(short_help='Reset a workstation remotly')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment