diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-06-30 01:17:04 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-06-30 01:17:04 +0200 |
| commit | 6ecbb839a61c80ed1b96705acc8cb01b7fd8fdfa (patch) | |
| tree | de4e2ac18704847a42373cab68e70287b1c19316 | |
| parent | b0d4f3a693f372c0c489267cd2fc408b2acc0e00 (diff) | |
Fix calling homelab group and removing cdrom repo from liveISO
| -rw-r--r-- | roles/configure/tasks/main.yml | 1 | ||||
| -rw-r--r-- | ubuntu.md | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/roles/configure/tasks/main.yml b/roles/configure/tasks/main.yml index c23e075..dcfe208 100644 --- a/roles/configure/tasks/main.yml +++ b/roles/configure/tasks/main.yml @@ -61,6 +61,7 @@ ansible-playbook site.yml --limit "{{ hostname }}" --extra-vars '{"hostname":"{{ hostname }}"}' + --extra-vars "@/opt/ansible-distro-configure/group_vars/homelab.yml" --extra-vars "@/opt/ansible-distro-configure/host_vars/{{ hostname }}.yml" --tags 'required_for_boot' chdir: "/opt/ansible-distro-configure" @@ -19,6 +19,7 @@ hostnamectl set-hostname ubuntu-<MACHINE>-iso passwd nmcli dev wifi connect <SSID> password <PASSPHRASE> +sudo rm /etc/apt/sources.list.d/cdrom.sources sudo apt update sudo DEBIAN_FRONTEND=noninteractive apt install -y openssh-server sudo systemctl restart ssh avahi-daemon @@ -45,6 +46,7 @@ ip link hostnamectl set-hostname ubuntu-macbook-iso passwd nmcli dev wifi connect <SSID> password <PASSPHRASE> +sudo rm /etc/apt/sources.list.d/cdrom.sources sudo apt update sudo DEBIAN_FRONTEND=noninteractive apt install -y openssh-server sudo systemctl restart ssh avahi-daemon |
