From 754c630393c2fa604df3a80091ce200fd0ea7e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Sun, 29 Mar 2020 12:27:26 -0400 Subject: [PATCH] aaa --- plugins/os/openbsd/tasks/50-root-pw.sh | 2 +- plugins/os/openbsd/tasks/50-serial-console.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/os/openbsd/tasks/50-root-pw.sh b/plugins/os/openbsd/tasks/50-root-pw.sh index 3215a44..e0f5f92 100644 --- a/plugins/os/openbsd/tasks/50-root-pw.sh +++ b/plugins/os/openbsd/tasks/50-root-pw.sh @@ -1,2 +1,2 @@ #usermod -p $(echo "root" | encrypt -b 6) root -usermod -p - root +run_in_target usermod -p - root diff --git a/plugins/os/openbsd/tasks/50-serial-console.sh b/plugins/os/openbsd/tasks/50-serial-console.sh index 33f89b7..7003d54 100644 --- a/plugins/os/openbsd/tasks/50-serial-console.sh +++ b/plugins/os/openbsd/tasks/50-serial-console.sh @@ -1,2 +1,2 @@ -echo stty com0 115200 >> /etc/boot.conf -sed -i 's,^\(tty00.*\)"/usr.*,\1"/usr/libexec/getty std.115200" xterm on secure,' /etc/ttys +echo stty com0 >> $TARGET/etc/boot.conf +sed -i 's,^\(tty00.*\)"/usr.*,\1"/usr/libexec/getty std.9600" xterm on secure,' $TARGET/etc/ttys