Skip to content

iMi-digital/vagrant-script-provisioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant script provisioning

Shell script based provisioning for Vagrant machines

Tricks

Debian: Capturing Config and Preconfiguration

By the example of postfix.

Capturing config:

PACKAGE=postfix
apt-get install $PACKAGE
# now make your selections
debconf-get-selections | grep $PACKAGE >> $PACKAGE.debconf
apt-get purge $PACKAGE

Preconfiguration:

# in the provision script
PACKAGE=postfix
debconf-set-selections < `dirname $0`/$PACKAGE.debconf
apt-get install -y $PACKAGE

About

Shell Script Based Provisioning for Vagrant Machines

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages