- Install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)";brew update
- Install virtualbox
brew cask install virtualbox
- Install packer
brew install packer
- Install vagrant - optional
brew cask install vagrant
make all
packer build packer-debian-10-virtualbox.json
- Do a manual installation of Debian
- After the installation check the following files:
/var/log/installer/cdebconf/templates.dat
/var/log/installer/cdebconf/questions.dat
- Install debconf-utils package
- Get current debconf settings:
debconf-get-selections --installer
- Get current debconf settings for the installed packages:
debconf-get-selections
- More information on full preseed examples
- Validate your preseed file
debconf-set-selections -c preseed.cfg