hummeltech/Start Vagrant Box
Allow running command-line programs via bash shell of VMs provisioned with Vagrant using the run keyword.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Apr 14, 2025
- License
- GPL 3.0
Pinned Snippet
uses: hummeltech/vagrant-action@588134371fb8deb2fec5cac2742ef9b364083cc8 # v2.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| box | Vagrant Box | — | generic/arch |
| boot_timeout | VM Boot Timeout | — | 1800 |
| connect_timeout | VM SSH Connect Timeout | — | 30 |
| cpus | VM CPUs | — | 2 |
| memory | VM Memory | — | 2048 |
| pre_package_commands | Command(s) to run before packaging Vagrant Box (double quotation marks are not allowed) | — | find ${{ github.workspace }} -mindepth 1 -delete; find ${{ runner.temp }} -mindepth 1 -delete; |
| provider | Vagrant provider to use, defaults to libvirt on Linux and virtualbox on macOS | — | — |
| provision_commands | Command(s) to run for provisioning (double quotation marks are not allowed) | — | echo 'AcceptEnv *' >> /etc/ssh/sshd_config; mkdir -p ${{ github.workspace }}; chown vagrant:vagrant ${{ github.workspace }}; mkdir -p ${{ runner.temp }}; chown vagrant:vagrant ${{ runner.temp }}; |
| save_box_to_cache | Save Vagrant Box to GitHub Actions Cache | — | — |
| ssh_shell | Shell to be used for `config.ssh.shell` in Vagrantfile | — | bash |
| use_cached_box | Use Vagrant Box from GitHub Actions Cache | — | — |
| vagrant_box_descriptor | Vagrant Box Descriptor <name, url, or path> | — | /tmp/packaged.box |
| vagrant_ssh_username | SSH Username for `vagrant ssh` | — | vagrant |
Outputs
no outputs