-
Notifications
You must be signed in to change notification settings - Fork 264
/
_packer_config.cmd
65 lines (52 loc) · 2.67 KB
/
_packer_config.cmd
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@echo off
:: Uncomment the following to set a different Cygwin mirror
:: Default: http://mirrors.kernel.org/sourceware/cygwin
:: set CYGWIN_MIRROR_URL=http://mirrors.kernel.org/sourceware/cygwin
:: Uncomment the following to echo commands as they are run
:: Default: (unset)
:: set PACKER_DEBUG=1
:: Uncomment the following to define the directory where scripts/save-logs.cmd
:: will save the installation logs
:: Default: z:\c\packer_logs
:: set PACKER_LOG_DIR=z:\c\packer_logs
:: Uncomment the following to disable BITS so scripts can fail instead of hanging
:: when BITS doesn't work right. By default we disable BITS due to being unable to
:: distinguish whether a BITS download was successful or failed in some way.
:: Default: (unset)
set DISABLE_BITS=1
:: Use the following to set defaults for the wget.exe downloader when fetching
:: files used to provision the template. By default we try and download the
:: requested file up to 64 times.
set WGET_OPTS=-t 64 --no-check-certificate
:: Use the following to set defaults for the curl.exe fallback downloader when
:: fetching files required for provisioning the template. This is a backup method,
:: so by default we retry if the connection is refused and we try to download
:: the requested file up to 64 times.
set CURL_OPTS=--retry-connrefused --retry 64 --retry-max-time 0 -k
:: Uncomment the following to change the pagefile size in MB as set by
:: floppy/pagefile.bat
:: Default: 512
:: set PACKER_PAGEFILE_MB=512
:: Uncomment the following to pause PACKER_PAUSE seconds after each script is
:: run by floppy/00-run-all-scripts.cmd (unless you press Y)
:: Default: (unset)
:: set PACKER_PAUSE=60
:: Uncomment the following to pause if a script run by
:: floppy/00-run-all-scripts.cmd returns a non-zero exit value
:: Default: (unset)
:: set PACKER_PAUSE_ON_ERROR=1
:: Uncomment the following to shutdown if a script run by
:: floppy/00-run-all-scripts.cmd returns a non-zero exit value
:: Default: (unset)
:: set PACKER_SHUTDOWN_ON_ERROR=1
:: Locations to search to find files locally, before trying to download them
:: %USERPROFILE% is listed first, as this is where Packer uploads
:: VMWare's windows.iso, and Virtualbox's VBoxGuestAdditions.iso
:: Default: "%USERPROFILE%" a: b: c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:
set PACKER_SEARCH_PATHS="%USERPROFILE%" a: b: c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:
:: List of services to start by floppy/zz-start-transports.cmd
:: Default: opensshd sshd BvSshServer winrm
set PACKER_SERVICES=opensshd sshd BvSshServer winrm
:: Uncomment the following to define a new password for the sshd service
:: Default: D@rj33l1ng
:: set SSHD_PASSWORD=D@rj33l1ng