Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for HTTPS remote mounts #141

Closed
ruimarinho opened this issue Oct 11, 2023 · 0 comments · Fixed by #142
Closed

Add support for HTTPS remote mounts #141

ruimarinho opened this issue Oct 11, 2023 · 0 comments · Fixed by #142

Comments

@ruimarinho
Copy link

Based on cirruslabs/tart#620, it would be great to relax orchard's host dir validation as right now it fails for remote HTTPS mounts:

❯ orchard --version
orchard version 0.14.0-13b4e19

Launching a VM with the remote HTTPS mount:

❯ orchard create vm --image ghcr.io/cirruslabs/macos-ventura-xcode:14.3.1 ventura-xcode --memory 4295 --cpu 2 --headless=false --host-dirs=ghar:https://github.com/actions/runner/releases/download/v2.309.0/actions-runner-osx-arm64-2.309.0.tar.gz
2023/10/11 14:34:11 invalid hostDir specification: hostDir's third part can only be "ro", got "//github.com/actions/runner/releases/download/v2.309.0/actions-runner-osx-arm64-2.309.0.tar.gz"

With :ro:

❯ orchard create vm --image ghcr.io/cirruslabs/macos-ventura-xcode:14.3.1 ventura-xcode --memory 4295 --cpu 2 --headless=false --host-dirs="ghar:https://github.com/actions/runner/releases/download/v2.309.0/actions-runner-osx-arm64-2.309.0.tar.gz:ro"
2023/10/11 14:35:49 invalid hostDir specification: hostDir specification can only contain 3 parts at max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant