How to grant tart-guest-agent access to network volumes (--dir) in a CI environment? #1144
Answered
by
edigaryev
DominikWunderlich
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
edigaryev
Oct 7, 2025
Replies: 1 comment 5 replies
-
|
Which VM image are you using? I've tried to reproduce this on Terminal #1: % mkdir ~/build
% echo '#!/bin/zsh\n\necho "Hello, World!"\n' > ~/build/conanbuild.sh
% tart clone ghcr.io/cirruslabs/macos-tahoe-base:latest macos
% tart run --dir ~/build:tag=build macosTerminal #2: % tart exec -it macos zsh -c 'mkdir ~/build'
% tart exec -it macos zsh -c '/sbin/mount_virtiofs build ~/build'
% tart exec -it macos zsh '/Users/admin/build/conanbuild.sh'
Hello, World! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ghcr.io/cirruslabs/macos-tahoe-base:latestis based onvanilla-tahoe.pkr.hcl, with the following templates applied on top of it:base.pkr.hcldisable-sip.pkr.hclHere are the relevant steps in
base.pkr.hclthat install the Tart Guest Agent.It's hard for me to tell what was done differently without seeing your templates, but you can compare and try modifying/re-building them and spot the difference this way.