Skip to content

cdf-eagles/freebsd-cloud-img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit main Build FreeBSD Cloud Images Publish Web Artifacts Run Shellcheck

FreeBSD Cloud-Image (bhyve)

This is a script/repository for generating an UNOFFICIAL FreeBSD cloud-init enabled image for use with bhyve. These images may also work with OpenStack and/or NoCloud environments.

Original code was taken from Virt-Lightning.

Usage

Usage: build.sh [-d] [-v] [-r <FreeBSD Release>] [-f <root fstype>]
  -d,    Enable debug mode for script AND image (sets a root password in the image).    EnvVar:DEBUG
  -r,    FreeBSD Release to download. [Default: 15.0]                                   EnvVar:RELEASE
  -f,    Root filesystem type (zfs or ufs). [Default: zfs]                              EnvVar:ROOT_FS
  -v,    Script version information.
  -h,    Display usage.

Examples

Build a regular 15.0-RELEASE image with a ZFS root

build.sh -r 15.0 -f zfs

Build a DEBUG-enabled (root password set) image with a UFS root

build.sh -d -f ufs

Download Images

Images are generated on the 15th of every month via GitHub Actions. They can be downloaded here:

About

Cloud-init enabled image of FreeBSD for bhyve

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors