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 | |
parent | 63a12998f097a7c38e441cc46b0c66cfe7f9df1b (diff) | |
download | puomi-dfc7cc161da18ae4a61815e82c8a72eb009c2c7a.tar.gz |
add v-i files for installing on an x220 laptop
Sponsored-by: author
-rw-r--r-- | puomi-installer-playbook.yml | 33 | ||||
-rw-r--r-- | puomi-x220.yaml | 10 |
2 files changed, 43 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 diff --git a/puomi-x220.yaml b/puomi-x220.yaml new file mode 100644 index 0000000..d770e21 --- /dev/null +++ b/puomi-x220.yaml @@ -0,0 +1,10 @@ +# A target specification file for v-i for Puomi on a Lenovo Thinkpad +# X220 laptop. + +drive: /dev/sda +hostname: puomi +extra_playbooks: + - puomi-installer-playbook.yml +ansible_vars: + user_pub: | + ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPQe6lsTapAxiwhhEeE/ixuK+5N8esCsMWoekQqjtxjP liw personal systems |