Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guided.py')
-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(' '))