Skip to content

TritonDataCenter/freebsd-kvm-image-builder

Repository files navigation

freebsd-kvm-image-builder

This repo creates a custom FreeBSD install ISO and a KVM image for use in SmartOS and Triton.

Requirements

This must be run on a FreeBSD machine or VirtualMachine.

Setup

The following packages are required:

pkg install -y bash rsync cdrtools

Usage

To build a custom ISO, run the create-iso script:

./create-iso -r <RELEASE> -m <MIRROR> -p <MIRROR_PATH> -i <ISO> -c <ISO_CHECKSUM> -d <ISO_DIR> -M <MOUNT_POINT> -l <ISO_LAYOUT> -f <ISO_FILENAME>

see ./create-iso -h for usage

This will download an ISO, created a customized layout with installerconfig, install the Triton guesttools then build the custom ISO.

To build the FreeBSD KVM image run the create-image script:

./create-image -i <ISO> -n <IMAGE_NAME> -d <DESC> -u <HOMEPAGE> -o <OWNER_UUID> -p <IP> -m NETMASK -g <GATEWAY> -v <VLAN_ID> -U <NETWORK_UUID>

see ./create-image -h for usage

About

Scripts to create a custom FreeBSD install ISO and a KVM image for use in SmartOS and Triton.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published