diff --git a/interface/ri_inst_cli.py b/interface/ri_inst_cli.py index 9643172..00cd1ad 100644 --- a/interface/ri_inst_cli.py +++ b/interface/ri_inst_cli.py @@ -36,7 +36,7 @@ def set_task_over(): print 'The system will reboot in 10 seconds ......' time.sleep(10) return True - else + else: string = raw_input("Rocky system installation successfully, do you want to reboot?[Y/n]") if string.lower() == "y" or string == "": return True