diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-12-26 23:24:40 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-12-26 23:24:40 +0100 |
commit | f5b24e7977b5e453bde40b52f1cf7bbc1bb67ae2 (patch) | |
tree | 303bd1a0a0dc86e2a2a9d5a77fb75b496044094e /roles/installer/openbsd/autoinstall/templates/install.site.j2 | |
parent | zsh and sshd role support debian and openbsd now (diff) |
base role supports openbsd now too
Diffstat (limited to 'roles/installer/openbsd/autoinstall/templates/install.site.j2')
-rw-r--r-- | roles/installer/openbsd/autoinstall/templates/install.site.j2 | 6 |
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 |