From 5d0e705b3007b3d63f5fef9c847decf86c664d9d Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Fri, 6 Nov 2026 11:17:15 +0100 Subject: [PATCH 1/2] fix(ssh-ca): install sudo before the Claude sudo rules The edge-host base install has no sudo, so /etc/sudoers.d is missing and the sudoers template fails. DSM keeps its own sudo and is skipped. Co-Authored-By: Claude Opus 5.5 --- ansible/roles/ssh-ca/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ansible/roles/ssh-ca/tasks/main.yml b/ansible/roles/ssh-ca/tasks/main.yml index b20e1556..6b9f68df 100644 --- a/ansible/roles/ssh-ca/tasks/main.yml +++ b/ansible/roles/ssh-ca/tasks/main.yml @@ -143,6 +143,12 @@ group: root mode: "0644" +- name: Install sudo + ansible.builtin.package: + name: sudo + state: present + when: not ssh_ca_synouser.stat.exists + - name: Install the Claude sudo rules ansible.builtin.template: src: sudoers-claude.j2 -- 2.54.0 From 9c42c7203749aa537c364598895ba5643d5520e3 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Fri, 6 Nov 2026 11:19:29 +0100 Subject: [PATCH 2/2] fix(edge-host-iso): include sudo in the base system The ssh-ca role installs the claude-bot sudo rules into /etc/sudoers.d, which a base system without sudo does not have. Co-Authored-By: Claude Opus 5.5 --- images/edge-host-iso/airootfs/usr/local/bin/edge-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/edge-host-iso/airootfs/usr/local/bin/edge-install b/images/edge-host-iso/airootfs/usr/local/bin/edge-install index 51debb6e..c0c48467 100755 --- a/images/edge-host-iso/airootfs/usr/local/bin/edge-install +++ b/images/edge-host-iso/airootfs/usr/local/bin/edge-install @@ -57,7 +57,7 @@ mount --mkdir "$(part 1)" /mnt/boot # Everything the edge-host ansible role expects to find; the role itself # is applied over SSH after first boot (see ansible/docs/edge-host.md). -pacstrap -K /mnt base linux linux-firmware intel-ucode openssh python git \ +pacstrap -K /mnt base linux linux-firmware intel-ucode openssh sudo python git \ docker docker-compose genfstab -U /mnt >> /mnt/etc/fstab -- 2.54.0