From cf3e47aa44dcd66b97b2943c2392cbcb311952e0 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 20 May 2021 16:17:04 +0200 Subject: Swapped the instance sent to Boot() --- examples/guided.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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(' ')) -- cgit v1.2.3-70-g09d2