diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-01-13 14:31:07 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-01-13 14:31:07 +0200 |
commit | dfc7cc161da18ae4a61815e82c8a72eb009c2c7a (patch) | |
tree | 5aa43b6642f8451870a453e0879ebeab2df63816 /puomi-installer-playbook.yml | |
parent | 63a12998f097a7c38e441cc46b0c66cfe7f9df1b (diff) | |
download | puomi-dfc7cc161da18ae4a61815e82c8a72eb009c2c7a.tar.gz |
add v-i files for installing on an x220 laptop
Sponsored-by: author
Diffstat (limited to 'puomi-installer-playbook.yml')
-rw-r--r-- | puomi-installer-playbook.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/puomi-installer-playbook.yml b/puomi-installer-playbook.yml new file mode 100644 index 0000000..0c0863c --- /dev/null +++ b/puomi-installer-playbook.yml @@ -0,0 +1,33 @@ +# Ansible playbook for installing a router. + +- hosts: image + pre_tasks: + - name: "configure networking for LAN adapter" + copy: + content: | + [Match] + Name=eth[^0]* + + [Network] + Address=10.1.1.1/24 + DHCPServer=true + IPMasquerade=true + ConfigureWithoutCarrier=true + + [DHCPServer] + PoolOffset=100 + PoolSize=50 + EmitDNS=yes + dest: /etc/systemd/network/lan0.network + + vars: + ansible_python_interpreter: /usr/bin/python3 + + sane_debian_system_version: 2 + sane_debian_system_codename: bullseye + sane_debian_system_timezone: Europe/Helsinki + sane_debian_system_sources_lists: + - repo: | + deb http://deb.debian.org/debian bullseye contrib non-free + + unix_users_version: 2 |