This script will:
- download the
Debian 8.0 "Jessie"
server, 64bit iso - ... do some magic to turn it into a vagrant box file
- output
debian-jessie.box
- Oracle VM VirtualBox
- Vagrant
- mkisofs
- 7zip
./build.sh
This should do everything you need. If you don't have mkisofs
or p7zip
, install homebrew, then:
brew install cdrtools
brew install p7zip
To add debian-jessie.box
with name debian-jessie
into vagrant:
vagrant box add "debian-jessie" debian-jessie.box
./build.sh
This should do everything you need. If you don't have mkisofs
or p7zip
:
sudo apt-get install genisoimage
sudo apt-get install p7zip-full
To add debian-jessie.box
with name debian-jessie
into vagrant:
vagrant box add "debian-jessie" debian-jessie.box
./build.sh
Tested under Windows 7 with this tools:
To add debian-jessie.box
with name debian-jessie
into vagrant:
vagrant box add "debian-jessie" debian-jessie.box
You can affect the default behaviour of the script using environment variables:
VAR=value ./build.sh
The following variables are supported:
-
PRESEED
— path to custom preseed file. May be useful when if you need some customizations for your private base box (user name, passwords etc.); -
LATE_CMD
— path to custom late_command.sh. May be useful when if you need some customizations for your private base box (user name, passwords etc.); -
VM_GUI
— if set toyes
or1
, disables headless mode for vm. May be useful for debugging installer;