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 new file mode 100644 index 0000000..7003d54 --- /dev/null +++ b/plugins/os/openbsd/tasks/50-serial-console.sh @@ -0,0 +1,2 @@ +echo stty com0 >> $TARGET/etc/boot.conf +sed -i 's,^\(tty00.*\)"/usr.*,\1"/usr/libexec/getty std.9600" xterm on secure,' $TARGET/etc/ttys diff --git a/plugins/os/openbsd/tasks/70-serial-console.sh b/plugins/os/openbsd/tasks/70-serial-console.sh deleted file mode 100644 index 0a0e4cd..0000000 --- a/plugins/os/openbsd/tasks/70-serial-console.sh +++ /dev/null @@ -1,2 +0,0 @@ -echo stty com0 115200 >> ${TARGET}/etc/boot.conf -sed -i 's,^tty00 .*,tty00 "/usr/libexec/getty std.115200" xterm on secure,' ${TARGET}/etc/ttys