Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2021-05-20 16:17:04 +0200
committerGitHub <noreply@github.com>2021-05-20 16:17:04 +0200
commitcf3e47aa44dcd66b97b2943c2392cbcb311952e0 (patch)
treee5ab61b9a402d062d92a505b1e90f5b6e4469b7b
parent73e3b99f72a4ac47a4cd69a4fa794f02859b5c58 (diff)
Swapped the instance sent to Boot()
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index ad9e6bd1..960d4b38 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -379,7 +379,7 @@ def perform_installation(mountpoint):
# If the user provided custom commands to be run post-installation, execute them now.
if len(archinstall.arguments['custom-commands']):
- with Boot(archinstall) as session:
+ with Boot(installation) as session:
for command in archinstall.arguments['custom-commands']:
archinstall.log(f'Executing custom command "{command}" ...', fg='yellow')
session.SysCommand(["bash", "-c"] + command.split(' '))