Install Packer to get started.
Ref: tart templates
packer init config.pkr.hcl
packer build -var-file="variables.pkrvars.hcl" templates/xcode.pkr.hcl
packer build -var-file="variables.pkrvars.hcl" templates/latex.pkr.hcl
# Set user name and personal access token in .env
export $(cat .env | xargs) && tart push ventura-xcode-14.3-latex:latest ghcr.io/onevcat/ventura-xcode-14.3-latex:latest
tart clone ghcr.io/onevcat/ventura-xcode-14.3-latex:latest my_vm
tart run --dir=src:~/Documents/somefolder my_vm
# Headless mode
# tart run --no-graphics --dir=src:~/Documents/somefolder my_vm
# Connect with SSH
ssh admin@$(tart ip my_vm)