Reboot the device after wizard configuration.

BUG=chromium:596536
TEST=Manually test.

Change-Id: I01e6e9fb31a77c0132f92620463d25bf363e0605
Reviewed-on: https://chromium-review.googlesource.com/335332
Commit-Ready: Michael Tang <ntang@chromium.org>
Tested-by: Michael Tang <ntang@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>
diff --git a/frontend/afe/site_rpc_interface.py b/frontend/afe/site_rpc_interface.py
index 77d4204..a629f58 100644
--- a/frontend/afe/site_rpc_interface.py
+++ b/frontend/afe/site_rpc_interface.py
@@ -438,6 +438,11 @@
 
 
 @moblab_only
+def reboot_moblab():
+    """Simply reboot the device."""
+    os.system('sudo reboot')
+
+@moblab_only
 def set_boto_key(boto_key):
     """Update the boto_key file.
 
@@ -701,6 +706,9 @@
 
     _CONFIG.parse_config_file()
 
+    # TODO(ntang): replace reboot with less intrusive reloading.
+    os.system('sudo reboot')
+
     return _create_operation_status_response(True, None)