-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample.env
38 lines (27 loc) · 1.2 KB
/
example.env
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
# vars:
# - .env building vars: control building process
# - vyos.pkrvars.hcl image vars: define image parameters - git default
# - local.pkrvars.hcl image vars: define image parameters - clone vyos.pkrvars.hcl to override it locally
# PACKER_LOG=1 will show more packer output (leave 0 for automated packer deployments reduce verbosity)
PACKER_LOG=1
# PARALLEL_BUILDS=0 unlimited build in parallel (leave 0 for automated packer deployments to turn on parallels builds)
PARALLEL_BUILDS=1
# Choose a fixed vnc port or unset to chose random port (leave unset for automated packer deployments)
VNC_PORT_FIXED=5900
# Choose a fixed host/ssh port or unset to chose random port (leave unset for automated packer deployments)
HOST_PORT_FIXED=2222
# Seconds before shutdown (put few 300 or 600 if need to access ssh for developing on packer-vyos)
SLEEP_BEFORE_SHUTDOWN=0
# Recommendation for development:
# VNC_PORT_FIXED=5900
# HOST_PORT_FIXED=2222
# PACKER_LOG=1
# PARALLEL_BUILDS=1
# SLEEP_BEFORE_SHUTDOWN=300
# Recommendation for automated building/production:
# PARALLEL_BUILDS=1
# PACKER_LOG=0
# SLEEP_BEFORE_SHUTDOWN=0
# and comment those to undefine vars:
# #VNC_PORT_FIXED
# #HOST_PORT_FIXED