xworkspace-console/scripts
Haitao Pan 11701c6037 fix(macos): patch vault role post-clone for macOS-standard dirs
The vault role's 'Ensure standalone Vault directories exist' task creates
/etc/vault.d and /opt/vault/data with owner: root and lacks the Darwin guard
its sibling tasks have, so it fails under macOS become=false. Unlike the
bridge dir (owned by the service user, fixable via -e), this owner: root is
hardcoded and not overridable, so the role logic must change.

Since the role lives in a separate playbooks repo, reuse the existing
post-clone patch mechanism (cf. patch_playbook_user_systemd): add
patch_playbook_vault_macos() that, on Darwin only, guards the directory task,
makes vault dirs/binary OS-conditional (macOS -> ~/Library/Application
Support/vault[/data], /opt/homebrew/bin/vault; Linux unchanged), and creates
the user-owned data dir in macos.yml. Idempotent; verified against the real
role. Documents TC-MAC-013.
2026-06-18 11:33:42 +00:00
..
ai-workspace-offline-install.sh fix: trust offline package git checkouts 2026-06-16 14:19:13 +08:00
create-ai-workspace-offline-package.sh fix: validate pinned chrome apt version 2026-06-18 17:17:01 +08:00
reset-xfce-profile.sh Rebuild console with React Vite and Go 2026-06-07 13:01:06 +08:00
setup-ai-workspace-all-in-one.sh fix(macos): patch vault role post-clone for macOS-standard dirs 2026-06-18 11:33:42 +00:00
setup-xworkspace-desktop.sh Rebuild console with React Vite and Go 2026-06-07 13:01:06 +08:00
start-chromium-console.sh Rebuild console with React Vite and Go 2026-06-07 13:01:06 +08:00
start-chromium-minimal.sh feat: add xface-minimal config for Stage 2 display stack 2026-06-10 11:45:21 +08:00
switch-desktop-mode.sh fix: improve switch-desktop-mode.sh for proper config deployment 2026-06-10 11:52:53 +08:00