Running 'setup' will text install defaultly

Fix problem of setting swap

	modified:   dialog/di_newt.py
	modified:   interface/ri_inst_cli.py
	modified:   main/setup
This commit is contained in:
Peng Zhihui
2014-01-17 10:56:12 +08:00
parent c86cee75af
commit 04be655e08
3 changed files with 10 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ def set_task_scale():
print "%.2f" %float(Rate.value)
def set_task_over():
string = raw_input("Rocky system installation successfully, do you want to reboot?[Y]")
string = raw_input("Rocky system installation successfully, do you want to reboot?[Y/n]")
if string.lower() == "y" or string == "":
return True
return False