diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-04-27 18:28:19 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-04-27 18:28:19 +0200 |
commit | 7f1ce0ed46867239d2158a43c1446dffeb131827 (patch) | |
tree | 11a19d020b85212d4e6ca1fd3bbd0354338865a4 /roles/installer/openbsd/autoinstall/templates | |
parent | sk-cloudio/sk-tomnext-nc: update kubernetes (diff) |
fix installer for openbsd
Diffstat (limited to 'roles/installer/openbsd/autoinstall/templates')
-rw-r--r-- | roles/installer/openbsd/autoinstall/templates/install.site.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/installer/openbsd/autoinstall/templates/install.site.j2 b/roles/installer/openbsd/autoinstall/templates/install.site.j2 index 72daa488..1c2313c8 100644 --- a/roles/installer/openbsd/autoinstall/templates/install.site.j2 +++ b/roles/installer/openbsd/autoinstall/templates/install.site.j2 @@ -10,7 +10,7 @@ EOF {% if ansible_port is defined %} echo "Setting SSH port to {{ ansible_port }}" -sed -e 's/^\s*#*\s*Port\s\s*[0-9][0-9]*$/Port {{ ansible_port }}/' -i /etc/ssh/sshd_config +sed -e 's/^[ \t]*#*[ \t]*Port[ \t][ \t]*[0-9][0-9]*$/Port {{ ansible_port }}/' -i /etc/ssh/sshd_config {% endif %} echo "Installing python" |