-
Notifications
You must be signed in to change notification settings - Fork 35
/
config.sh
36 lines (29 loc) · 990 Bytes
/
config.sh
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
#
# The nickname of this ISO, VirtualBox image, and Vagrant box.
: ${NICKNAME:="vagrant"}
# Arguments given to the download router.
: ${VERSION:="10.10"}
: ${DISTRO:="server"}
: ${RELEASE:="latest"}
# Architecture being built (i386 or amd64).
: ${ARCH:="i386"}
# Hardcoded host information.
: ${HOST:="vagrant"}
: ${DOMAIN:="vagrantup.com"}
: ${ROOT_PASSWORD:="vagrant"}
: ${USERNAME:="vagrant"}
: ${PASSWORD:="vagrant"}
# SSH key to be authorized in virtual machines.
: ${PRIVATE_KEY:="vagrant"}
chmod 600 "$PRIVATE_KEY"
: ${PUBLIC_KEY:="vagrant.pub"}
# SSH command that will connect to the virtual machine. Add commands
# onto the end to do other tricks.
: ${SSH_PORT:="22222"}
: ${SSH:="ssh \
-o UserKnownHostsFile=/dev/null \
-o StrictHostKeyChecking=no \
-l \"$USERNAME\" -i \"$PRIVATE_KEY\" -p \"$SSH_PORT\" localhost \
"}
# Fully-qualified pathname of VBoxGuestAdditions.iso.
: ${VBOX_GUEST_ADDITIONS:="/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso"}