Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
/ packer-builds Public archive

This repo is where virtual images are created and stored

License

Notifications You must be signed in to change notification settings

librenms/packer-builds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fc33d48 · May 11, 2023
Feb 18, 2021
May 11, 2023
May 11, 2023
Nov 25, 2017
Apr 1, 2018
Jul 2, 2016
Nov 2, 2018
Jun 24, 2021
Oct 13, 2014
Feb 29, 2020
Feb 14, 2014
May 11, 2023
Nov 7, 2018
May 11, 2023
Apr 3, 2019
May 11, 2023
May 11, 2023

Repository files navigation

Usage

Clone the repository:

git clone https://github.com/librenms/packer-builds && cd packer-builds

Install requirements:

Configuration

You can configure each template to match your requirements by setting the following user variables.

User Variable Default Value Description
cpus 1 Number of CPUs
disk_size 40000 Documentation
headless 0 Documentation
memory 512 Memory size in MB
mirror A URL of the mirror where the ISO image is available
librenms_version master Available options are master or release, master will be up to the latest commit and release will be the latest tag
oxidized true Install Oxidized as part of the image
syslog_ng true Install and configure Syslog-NG

Example

Build a LibreNMS Ubuntu 22.04 (NGINX) box with a 10GB hard disk using the VirtualBox provider:

packer build -only=virtualbox-iso -var disk_size=10000 ubuntu-22.04-amd64.json

If running on a remote system over ssh, or on a system without a graphical console, add -var headless=true

For debugging, run with PACKER_LOG=1 and/or check ~/.config/VirtualBox/VBoxSVC.log