hummeltech/Start FreeBSD Vagrant Box
Allow running command-line programs via bash shell of FreeBSD VMs provisioned with Vagrant using the run keyword.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| boot_timeout | VM Boot Timeout | — | 1800 |
| box | Vagrant Box | — | generic/freebsd14 |
| 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; sudo pkg clean --all --yes; |
| 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) | — | sysrc update_motd=NO; service motd onestop; rm -f /var/run/motd; chmod -x /usr/bin/fortune; export ASSUME_ALWAYS_YES=yes; pkg bootstrap -f; pkg upgrade; pkg install bash rsync; echo 'AcceptEnv *' >> /etc/ssh/sshd_config; service sshd restart; 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