Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.33 KB

README.md

File metadata and controls

29 lines (25 loc) · 1.33 KB

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