Skip to content
play

GitHub Action

Start FreeBSD Vagrant Box

v3.0 Latest version

Start FreeBSD Vagrant Box

play

Start FreeBSD Vagrant Box

Allow running command-line programs via bash shell of FreeBSD VMs provisioned with Vagrant using the run keyword

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Start FreeBSD Vagrant Box

uses: hummeltech/[email protected]

Learn more about this action in hummeltech/freebsd-vagrant-action

Choose a version

FreeBSD Vagrant Action

The value for runs-on must either be set to macos-13 or ubuntu-latest in order to use this action.

This action allows the running of command-line programs via the bash shell of FreeBSD VMs provisioned with Vagrant using the run keyword. This also works with composite actions which exclusively use the run keyword (and/or call other composite actions which also do so.)

This action is currently only tested with these boxes (but will probably also work with others):

  • freebsd/FreeBSD-13.4-STABLE (virtualbox provider only)
  • freebsd/FreeBSD-14.1-STABLE (virtualbox provider only)
  • generic/freebsd13
  • generic/freebsd14

Usage

  1. Provision a FreeBSD VM using the specified box (with 2 CPUs & 2GB of RAM)
    - name: Provision VM
      uses: hummeltech/freebsd-vagrant-action@v3
      with:
        box: freebsd/FreeBSD-14.1-STABLE
        cpus: 2
        memory: 2048
  2. Execute a command using the run keyword
    - name: Display the contents of /etc/os-release
      run: cat /etc/os-release