index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-29 18:55:55 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-29 18:55:55 +0100 |
commit | f64a605449f59c677dff39962f1cb46616d893b7 (patch) | |
tree | 5f1a37c698b5b4c848872a0b8e8e3a1269c0eb7c | |
parent | 42b697a4e35bfe6248f2b57c7166d5e496b2326b (diff) |
-rw-r--r-- | archinstall.py | 7 |
diff --git a/archinstall.py b/archinstall.py index 64c1a164..bc5f999f 100644 --- a/archinstall.py +++ b/archinstall.py @@ -329,10 +329,11 @@ class sys_command():#Thread): trigger_pos = self.trace_log[last_trigger_pos:].lower().find(trigger.lower()) if 'debug' in self.kwargs and self.kwargs['debug']: - print(f"Writing to subprocess {self.cmd[0]}: {self.kwargs['events'][trigger].decode('UTF-8')}") - log(f"Writing to subprocess {self.cmd[0]}: {self.kwargs['events'][trigger].decode('UTF-8')}", origin='spawn', level=5) + print(f"Writing to subprocess {self.cmd[0]}: {self.kwargs['events'][trigger]}") + log(f"Writing to subprocess {self.cmd[0]}: {self.kwargs['events'][trigger]}", origin='spawn', level=5) last_trigger_pos = trigger_pos + # last_trigger_pos += len(self.kwargs['events'][trigger]) os.write(child_fd, self.kwargs['events'][trigger]) del(self.kwargs['events'][trigger]) broke = True @@ -1120,7 +1121,7 @@ def run_post_install_steps(*positionals, **kwargs): # fh.write('ExecStart=-/usr/bin/agetty --autologin root -s %I 115200,38400,9600 vt102\n') ## So we'll add a bunch of triggers instead and let the sys_command manually react to them. - ## "<hostname> login" followed by "Passwodd" in case it's been set in a previous step.. usually this shouldn't be nessecary + ## "<hostname> login" followed by "Password" in case it's been set in a previous step.. usually this shouldn't be nessecary ## since we set the password as the last step. And then the command itself which will be executed by looking for: ## [root@<hostname> ~]# defaults = { |