Add separators
This commit is contained in:
parent
3c8664b1f5
commit
d40c5deb44
5
run.py
5
run.py
@ -33,6 +33,7 @@ def efibios(termsize, settings):
|
|||||||
print("Note that BIOS is required for VirtalBox hosts due a long-time unfixed bug.")
|
print("Note that BIOS is required for VirtalBox hosts due a long-time unfixed bug.")
|
||||||
print("It's possible that you need to change Mainboard settings for EFI. (But it's recommended!)")
|
print("It's possible that you need to change Mainboard settings for EFI. (But it's recommended!)")
|
||||||
settings["bootmethod"] = _ask("Do you want to install on EFI or BIOS?", [ "EFI", "BIOS" ])
|
settings["bootmethod"] = _ask("Do you want to install on EFI or BIOS?", [ "EFI", "BIOS" ])
|
||||||
|
_separator(termsize)
|
||||||
|
|
||||||
|
|
||||||
def blockdevice(termsize, settings):
|
def blockdevice(termsize, settings):
|
||||||
@ -40,12 +41,14 @@ def blockdevice(termsize, settings):
|
|||||||
print("Make sure to choose a drive, not a partition.")
|
print("Make sure to choose a drive, not a partition.")
|
||||||
print("Here's a list of devices that may be the right:")
|
print("Here's a list of devices that may be the right:")
|
||||||
settings["blockdevice"] = _ask("Install where?", os.listdir("/sys/block/"), enforce=False)
|
settings["blockdevice"] = _ask("Install where?", os.listdir("/sys/block/"), enforce=False)
|
||||||
|
_separator(termsize)
|
||||||
|
|
||||||
|
|
||||||
def cryptroot(termsize, settings):
|
def cryptroot(termsize, settings):
|
||||||
print("Do you want to encrypt your root partition?")
|
print("Do you want to encrypt your root partition?")
|
||||||
print("Please note that there is no way to recover your data if you forget your password.")
|
print("Please note that there is no way to recover your data if you forget your password.")
|
||||||
settings["cryptroot"] = _ask("Encrypt root?", [ "yes", "no" ])
|
settings["cryptroot"] = _ask("Encrypt root?", [ "yes", "no" ])
|
||||||
|
_separator(termsize)
|
||||||
|
|
||||||
|
|
||||||
def rundir(termsize, settings, directory, validation_suffix, subfile="", ask=False):
|
def rundir(termsize, settings, directory, validation_suffix, subfile="", ask=False):
|
||||||
@ -85,6 +88,8 @@ def rundir(termsize, settings, directory, validation_suffix, subfile="", ask=Fal
|
|||||||
else:
|
else:
|
||||||
print("Uh. Found this executable: '%s' (Not executing)" % (filename))
|
print("Uh. Found this executable: '%s' (Not executing)" % (filename))
|
||||||
|
|
||||||
|
_separator(termsize)
|
||||||
|
|
||||||
|
|
||||||
def finish(termsize, settings):
|
def finish(termsize, settings):
|
||||||
_separator(termsize)
|
_separator(termsize)
|
||||||
|
Loading…
Reference in New Issue
Block a user