Use local config for OpenBSD installs
This commit is contained in:
parent
65431fc83a
commit
43153431af
1 changed files with 13 additions and 3 deletions
|
@ -110,10 +110,20 @@
|
|||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: Create install.conf for OpenBSD installs
|
||||
ansible.builtin.get_url:
|
||||
url: "https://boot.foo.sh/openbsd/install.conf"
|
||||
checksum: sha1:f6270708dad3f759df02eefeab300d9b8670f3d4
|
||||
ansible.builtin.copy:
|
||||
dest: /srv/tftpboot/install.conf
|
||||
content: |
|
||||
Password for root account = *************
|
||||
Public ssh key for root account = {{
|
||||
lookup('file', '../files/ssh/adm.pub')
|
||||
}}
|
||||
Allow root ssh login = yes
|
||||
URL to autopartitioning template for disklabel = {{
|
||||
boot_url + "/openbsd/autopart.conf"
|
||||
}}
|
||||
Location of sets = http
|
||||
HTTP Server = cdn.openbsd.org
|
||||
What timezone are you in = UTC
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue