From b93af230db0a63e81ac10f0d7e9f7e1f41c4152a Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 3 Jan 2024 18:56:59 +0100 Subject: add chromebook --- inventory/host_vars/s2-chromebook.yml | 82 +++++++++++++++++++++++++++++++++++ inventory/hosts.ini | 3 +- spreadspace/s2-chromebook.yml | 26 +++++++++++ 3 files changed, 110 insertions(+), 1 deletion(-) create mode 100644 inventory/host_vars/s2-chromebook.yml create mode 100644 spreadspace/s2-chromebook.yml diff --git a/inventory/host_vars/s2-chromebook.yml b/inventory/host_vars/s2-chromebook.yml new file mode 100644 index 00000000..c12a0a3c --- /dev/null +++ b/inventory/host_vars/s2-chromebook.yml @@ -0,0 +1,82 @@ +--- +ubuntu_autoinstall_locale: de_AT +ubuntu_autoinstall_keyboard_layout: de +ubuntu_autoinstall_keyboard_variant: nodeadkeys +ubuntu_autoinstall_timezone: Europe/Vienna + +ubuntu_autoinstall_desktop: xubuntu +ubuntu_autoinstall_kernel_image: linux-generic-hwe-22.04-edge + +install: + efi: yes + disks: + primary: /dev/disk/by-id/nvme-KBG40ZMT128G_TOSHIBA_MEMORY_X0CPG4JGQA71 + system_lvm: + volumes: + - name: root + size: 20G + filesystem: ext4 + mountpoint: / + - name: var+log + size: 768M + filesystem: ext4 + mountpoint: /var/log + mount_options: + - noatime + - nodev + - noexec + - name: home + size: 50G + filesystem: ext4 + mountpoint: /home + kernel_cmdline: + - quiet + - splash + - iommu=pt + #- nomodeset ## only needed during installation + +network: + nameservers: + - 195.58.161.123 + - 212.186.211.21 + domain: "{{ host_domain }}" + primary: &_network_primary_ + name: enx3c18a054c23a + address: "192.168.28.32/24" + gateway: "192.168.28.254" + interfaces: + - *_network_primary_ + +base_modules_blacklist: "{{ base_modules_blacklist_none }}" + +zsh_banner: equinox + +admin_users_host: + - equinox + +apt_repo_components: + - main + - restricted + - universe + - multiverse + + +ws_base_extra_packages: + - cpu-x + - horst + - ipcalc + - iperf + - iperf3 + - iputils-arping + - jq + - mosh + - pv + - s-tui + - unrar + - wavemon + - whois + - xfce4-goodies + + +ws_minet_wireless_interface_name: wlp1s0 +ws_minet_wireless_interface_module: iwlwifi diff --git a/inventory/hosts.ini b/inventory/hosts.ini index 98029ac6..b328d72d 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -134,8 +134,9 @@ env_group=spreadspace [spreadspace] s2-build host_name=build -s2-mr-snuggles host_name=mr-snuggles s2-thetys host_name=thetys +s2-mr-snuggles host_name=mr-snuggles +s2-chromebook host_name=chromebook [schlagergarten-gloria:vars] diff --git a/spreadspace/s2-chromebook.yml b/spreadspace/s2-chromebook.yml new file mode 100644 index 00000000..4aa8e5c0 --- /dev/null +++ b/spreadspace/s2-chromebook.yml @@ -0,0 +1,26 @@ +--- +- name: Basic Setup + hosts: s2-chromebook + roles: + - role: apt-repo/base + - role: core/base + - role: core/sshd/base + - role: core/zsh + - role: core/cpu-microcode + +- name: Payload Setup + hosts: s2-chromebook + roles: + - role: apt-repo/backports + - role: ws/base + - role: core/admin-users + - role: ws/minet + - role: ws/pipewire + - role: ws/flatpak + post_tasks: + - name: remove install netplan config + file: + path: /etc/netplan/00-installer-config.yaml + state: absent + +## https://docs.chrultrabook.com/docs/installing/installing-linux.html -- cgit v1.2.3