In fact you can install packages in home assistant OS. The package manager uses the command apk add xxxx
First create bash script and make executable and put it in a shell command
shell_command:
setup: /config/scripts/setup.sh
# setup. sh
#!/bin/sh
apk update
apk add -u busybox
apk add busybox-extras
apk add expect
apk add sshpass
Then create an automation that runs your shell command during startup
- id: hass_1
initial_state: 'true'
alias: System Startup Notification
trigger:
platform: homeassistant
event: start
action:
- service: shell_command.setup