20 lines
282 B
Bash
Executable File
20 lines
282 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Exit on any errors
|
|
set -e
|
|
|
|
DIR="$(dirname "$0")"
|
|
|
|
. "$DIR"/func.sh
|
|
|
|
depcheck
|
|
|
|
kextparam="console=ttyS0 console=tty0" kflav="lts" size=2G setup
|
|
|
|
addpkg openssh-server
|
|
addtty tty0
|
|
addsvc bundle.core bundle.net bundle.tty sshd.1
|
|
addsshkey "$DIR"/keys/id_ed25519.pub
|
|
|
|
pack
|