This script will:
- download the
Debian 7.5 "Wheezy"
server, 64bit iso - ... do some magic to turn it into a vagrant box file
- output
debian-wheezy-64.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-wheezy-64.box
with name debian-wheezy
into vagrant:
vagrant box add "debian-wheezy" debian-wheezy-64.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-wheezy-64.box
with name debian-wheezy
into vagrant:
vagrant box add "debian-wheezy" debian-wheezy-64.box
./build.sh
Tested under Windows 7 with this tools:
To add debian-wheezy-64.box
with name debian-wheezy
into vagrant:
vagrant box add "debian-wheezy" debian-wheezy-64.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;
This script basted on original Carl's repo and with some tweaks to be compatible Debian.