bootstrap-vz/plugins/user_packages
Anders Ingemann e1fc5ea972 Use long options wherever possible.
This makes the code a lot easier to understand
2013-08-17 15:00:53 +00:00
..
__init__.py add plugins to manage user packages, allow root login via ssh when root password is defined in conf, install opennebula context package 2013-07-31 16:57:29 +02:00
README.md add doc for plugins 2013-08-01 11:38:30 +02:00
user_packages.py Use long options wherever possible. 2013-08-17 15:00:53 +00: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.