In this folder you will find plugins made for the bootstrapper. You
can run them via the --plugin
option when bootstrapping. eg:
./debian-image-builder ec2 --plugin plugins/admin-user
admin-user
Creates a user named 'admin', gives it sudo rights and disables the root login.build-metadata
Adds a build metadata output file to record the AMI and snapshot IDs for further scripting.grant-launch-permission
Grants launch permission for the new AMI to a list of other AWS accounts.move_s3_path
Save multiple instance-backed AMIs to a single bucket by using sub-directories. Automatically appends sub-directories for architecture and timestamp.pause-before-umount
Pause the build process near the end to allow manual modifications to the image filesystem.publish-ami
Grants launch permission of the new AMI to everybody.publish-snapshot
Grants everybody permission to create a volume from the snapshot for the AMI.remount
Remounts the bootstrapped volume. With this plugin you can inspect the results of the bootstrapping process without launching an instance.standard-packages
Adds some common packages to the AMI.unattended-upgrades
Enables unattended upgrades with aptitude. Your EC2 server will upgrade itself daily.
The following is a list of external plugins you can use with debian-image-builder.
-
debian-cloud-salt-master Pre-install Salt Master configuration management software.
-
ec2-autohostname Create a Route 53 CNAME record via an instance tag when booting.
-
ec2-minecraft Installs Minecraft Server Manager by Marcus Whybrow.
-
debian-cloud-chef Installs Opscode Chef client using the Omnibus installer.
That's it for now. If you have made a plugin for debian-image-builder and would like to share it, send me a pull request or drop me an email.