index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2019-04-11 22:36:31 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2019-04-11 22:36:31 +0200 |
commit | 21322ecadbe4b47b429cbdb66a1a8065200111e0 (patch) | |
tree | d44b68f335d46ec6deeb5a2c9a9459fe060d4a99 | |
parent | b27c10907ff0c14c912a85377b5b879d19720e03 (diff) |
-rw-r--r-- | archinstall.py | 4 |
diff --git a/archinstall.py b/archinstall.py index 0f911afd..f1a33d4e 100644 --- a/archinstall.py +++ b/archinstall.py @@ -170,7 +170,7 @@ class sys_command(): for trigger in self.opts['triggers']: print(trigger.lower(),'vs', lower) if trigger.lower() in lower: - print('[N] Writing to subsystem: {}'.format(trigger)) + print('[N] Writing to subsystem: {}'.format(self.opts['triggers'][trigger])) os.write(child_fd, self.opts['triggers'][trigger]) yield output @@ -644,7 +644,7 @@ if __name__ == '__main__': o = b''.join(sys_command('/usr/bin/systemd-nspawn -D /mnt -b --machine temporary', opts={'triggers' : { b'Arcinstall login' : b'root\n', b'Password' : bytes(args['password']+'\n', 'UTF-8'), - b'[root@Archinstall ~]#' : bytes(command+'\n', 'UTF-8'), + b'[root@Arcinstall ~]#' : bytes(command+'\n', 'UTF-8'), }, **opts}).exec()) ## And cleanup after out selves.. Don't want to leave any residue.. |