added custom user and doas

This commit is contained in:
Sven Vogel 2024-01-10 20:57:59 +01:00
parent 56a4b1eaec
commit 50b1f8f994
1 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,14 @@
#!/bin/sh
echo "setting up default user..."
adduser docker
adduser docker wheel
adduser docker docker
echo "setting up doas..."
apk add doas
echo "permit persist :wheel" >> /etc/doas.d/doas.conf
echo "installing qemu guest agent..."
apk add qemu-guest-agent
rc-update add qemu-guest-agent