summaryrefslogtreecommitdiff
path: root/roles/installer
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-12-26 23:24:40 +0100
committerChristian Pointner <equinox@spreadspace.org>2019-12-26 23:24:40 +0100
commitf5b24e7977b5e453bde40b52f1cf7bbc1bb67ae2 (patch)
tree303bd1a0a0dc86e2a2a9d5a77fb75b496044094e /roles/installer
parentzsh and sshd role support debian and openbsd now (diff)
base role supports openbsd now too
Diffstat (limited to 'roles/installer')
-rw-r--r--roles/installer/openbsd/autoinstall/templates/install.site.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/installer/openbsd/autoinstall/templates/install.site.j2 b/roles/installer/openbsd/autoinstall/templates/install.site.j2
index d12ed461..82928daa 100644
--- a/roles/installer/openbsd/autoinstall/templates/install.site.j2
+++ b/roles/installer/openbsd/autoinstall/templates/install.site.j2
@@ -16,5 +16,11 @@ sed -e 's/^\(\s*#*\s*Port.*\)/Port {{ hostvars[hostname].ansible_port }}/' -i /e
echo "Installing python"
pkg_add -Im python%3.7
+echo "Disable sndiod service on first boot"
+cat <<EOF >> /etc/rc.firsttime
+
+rcctl disable sndiod
+rcctl stop sndiod
+EOF
rm /install.site