Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-11-08 14:27:53 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-11-08 14:27:53 +0100
commit3598e0bfa2098afb76f869574f31c6c50810898e (patch)
treef2b1209751eb78f2c9d01b772feddb19472650dd /examples
parent667e06c63e1e5207975b50b1eb4a83b84caf3d56 (diff)
Variable type-o issue.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
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