bootstrap-vz/plugins/user_packages
Sonny Garcia c1f47a3dc0 changes MountVolume to MountRoot
this type changed names during a major refactoring for partition support
2013-11-07 17:19:26 -06:00
..
__init__.py Add references instead of instances to the tasklist 2013-10-27 18:11:53 +01:00
README.md add doc for plugins 2013-08-01 11:38:30 +02:00
user_packages.py changes MountVolume to MountRoot 2013-11-07 17:19:26 -06:00

User package plugin

This plugin gives the possibility to the user to install Debian packages in the virtual image.

Plugin is defined in the manifest file, plugin section with:

"user_packages": {
    "enabled": true,
    "repo": [ "apache2" ],
    "local": [ "/tmp/mypackage.deb" ]
}

The repo element refers to packages available in Debian repository (apt-get).

The local element will copy the specified .deb files and install them in the image with a dpkg command. Packages are installed in the order of their declaration.