-
Notifications
You must be signed in to change notification settings - Fork 34
/
configure
executable file
·25 lines (19 loc) · 849 Bytes
/
configure
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
#!/bin/sh
set -eu
echo ""
echo "Checking for wget (tested with 1.21)"
command -v wget >/dev/null 2>&1 || ( echo "wget not found."; exit 1 )
wget --version
echo ""
echo "Checking for HashiCorp Packer (tested with 1.6.6)"
command -v packer >/dev/null 2>&1 || ( echo "packer not found."; exit 1 )
packer --version || true
echo ""
echo "Checking for Oracle VM VirtualBox (tested with 6.1.32_Ubuntur149290)"
command -v VBoxManage >/dev/null 2>&1 || ( echo "VBoxManage not found."; exit 1 )
VBoxManage --version
echo ""
echo "Checking for Oracle VM VirtualBox Extension Pack (tested with 6.1.32_Ubuntur149290)"
VBoxManage list extpacks | grep "VirtualBox Extension Pack" || ( echo "VirtualBox Extension Pack not installed."; exit 1 )
echo ""
echo "Great! Looks like all dependencies are installed. You can go ahead and type 'make' to build the VM."