index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/__main__.py | 2 | ||||
-rw-r--r-- | examples/guided.py | 2 |
diff --git a/archinstall/__main__.py b/archinstall/__main__.py index 63f87d24..eaf19398 100644 --- a/archinstall/__main__.py +++ b/archinstall/__main__.py @@ -63,7 +63,7 @@ def run_as_a_module(): try: exec(profile) # Is this is very safe? except Exception as err: - print(f"Failed to run profile... {err}") + print(f"Error in profile {sys.argv[1]}: {err}") sys.exit(1) # Should prompt for another profile path instead diff --git a/examples/guided.py b/examples/guided.py index 652852e0..a226ec1d 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -34,7 +34,7 @@ def perform_installation(device, boot_partition, language, mirrors): Only requirement is that the block devices are formatted and setup prior to entering this function. """ - with archinstall.Installer(device, boot_partition=boot_partition, hostname=hostname) as installation: + with archinstall.Installer(device, boot_partition=boot_partition, hostname=archinstall.storage['_guided']['hostname']) as installation: ## if len(mirrors): # Certain services might be running that affects the system during installation. # Currently, only one such service is "reflector.service" which updates /etc/pacman.d/mirrorlist |