force user to enter server/terminal for installer
don't want to jump the gun for accidental ENTER
This commit is contained in:
parent
77ea6820f2
commit
94597f4703
1 changed files with 1 additions and 3 deletions
|
|
@ -50,9 +50,7 @@ class InstallHandler(base.InstallHandler):
|
||||||
# prompt user
|
# prompt user
|
||||||
install_type = None
|
install_type = None
|
||||||
while install_type not in ("server", "terminal"):
|
while install_type not in ("server", "terminal"):
|
||||||
install_type = self.prompt_generic(
|
install_type = self.prompt_generic("install type (server/terminal)")
|
||||||
"install type (server/terminal)", default="server"
|
|
||||||
)
|
|
||||||
|
|
||||||
# remember the answer
|
# remember the answer
|
||||||
self.install_type = install_type
|
self.install_type = install_type
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue