From 50b1f8f994088056b0a1d914dd99a84847f0a67c Mon Sep 17 00:00:00 2001 From: servostar Date: Wed, 10 Jan 2024 20:57:59 +0100 Subject: [PATCH] added custom user and doas --- setup-alpine-vm.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup-alpine-vm.sh b/setup-alpine-vm.sh index 5699fa9..df9db05 100644 --- a/setup-alpine-vm.sh +++ b/setup-alpine-vm.sh @@ -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