Swapped the instance sent to Boot()
This commit is contained in:
parent
73e3b99f72
commit
cf3e47aa44
|
|
@ -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(' '))
|
||||
|
|
|
|||
Loading…
Reference in New Issue