Skip to content

FreeBSD VMs

FreeBSD Virtual Machines

It is possible to run FreeBSD Virtual Machines the same way one can run Linux containers on the FreeBSD Cloud Cluster. To accomplish this, use freebsd_instance in your .cirrus.yml:

freebsd_instance:
  image_family: freebsd-14-1

task:
  install_script: pkg install -y ...
  script: ...

Under the Hood

Under the hood, a basic integration with Google Compute Engine is used and freebsd_instance is a syntactic sugar for the following compute_engine_instance configuration:

compute_engine_instance:
  image_project: freebsd-org-cloud-dev
  image: family/freebsd-14-1
  platform: freebsd

List of available image families

Any of the official FreeBSD VMs on Google Cloud Platform are supported. Here are a few of them which are self explanatory:

  • freebsd-15-0-snap (15.0-SNAP)
  • freebsd-14-1 (14.1-RELEASE)

It's also possible to specify a concrete version of an image by name via image_name field. To get a full list of available images please run the following gcloud command:

gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images