Simplify user workflow

Only ask bridge question if it is not a VM.
parent afeb78aa
...@@ -472,10 +472,10 @@ class Config: ...@@ -472,10 +472,10 @@ class Config:
self.virtual = get_yes_no("Is this a virtual Machine?", False) self.virtual = get_yes_no("Is this a virtual Machine?", False)
if not self.virtual: if not self.virtual:
self.one_disk = not get_yes_no("Do you want to use SlapOS with a second disk?", True) self.one_disk = not get_yes_no("Do you want to use SlapOS with a second disk?", True)
self.need_bridge = get_yes_no("Do you want the setup to allow virtual machines inside this node?", True)
else: else:
self.one_disk = True self.one_disk = True
self.need_bridge = False
self.need_bridge = get_yes_no("Do you want the setup to allow virtual machines inside this node?", True)
self.force_vpn = get_yes_no("Do you want to use vpn to provide ipv6?", True) self.force_vpn = get_yes_no("Do you want to use vpn to provide ipv6?", True)
self.force_slapcontainer = get_yes_no("Do you want to force the use lxc on this computer?", False) self.force_slapcontainer = get_yes_no("Do you want to force the use lxc on this computer?", False)
......
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