-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathZFS-root_local.vars.hcl
More file actions
46 lines (36 loc) · 1.66 KB
/
ZFS-root_local.vars.hcl
File metadata and controls
46 lines (36 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# For running packer locally
# Defaults shown commented out
#
# false -> we can see the VM console gui
# true -> console is hidden
# headless = true
# When running under docker this location is relative to the container environment
# So the outside/host location must be bind-mounted into the container at this location
# eg. -v "/home/location/somewhere:/qemu/builds"
# No default - must be set
output_prefix = "/qemu/builds/"
# Which Ubuntu version to install
# ubuntu_version = "24.04.2"
# ubuntu_version_name = "noble"
# Disk encryption - NOENC, ZFS (zfs native), LUKS
# discenc = "NOENC"
# Where to find ISOs - this can be local with "file:///some/dir"
# For local ISOs, each ISO should be in the appropriate release-named dir
# /qemu/ISOs/focal/ubuntu-20.04.5-live-server-amd64.iso
# /qemu/ISOs/jammy/ubuntu-22.04.5-live-server-amd64.iso
# ubuntu_live_iso_src = "https://releases.ubuntu.com"
ubuntu_live_iso_src = "file:///qemu/ISOs"
# Disk dize - default to one 5G disk
# disk_size = "5G"
# Multiple disks - how many extra to build
# additional_disks = [] # default empty for single primary disk
# additional_disks = ["5G"] # for two total disks (one primary + one additional etc.)
# For 3x disks total via cmdline you can call packer with packer build -var 'additional_disks=["5G","5G"]' ...
# Raid level if more than 1 disk
# If not set explicitly defaults to NO raid, so disks are individual vdevs with no redundancy
# mirror s only option for 2 disks
# mirror or raidz1 for 3+ disks
# raidlevel = ""
# Main config file for ZFS-root.sh
# config_file = "ZFS-root.conf.packerci"