mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
add doc for plugins
This commit is contained in:
parent
61f97ab068
commit
9745861b46
2 changed files with 32 additions and 0 deletions
17
plugins/opennebula/README.md
Normal file
17
plugins/opennebula/README.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Open Nebula context plugin
|
||||
|
||||
This plugin adds OpenNebula contextualization to the virtual image (see http://opennebula.org/documentation:rel4.2:cong).
|
||||
|
||||
It set ups the network and ssh keys. TO do so you should configure your virtual machine context with something like:
|
||||
|
||||
ETH0_DNS $NETWORK[DNS, NETWORK_ID=2]
|
||||
ETH0_GATEWAY $NETWORK[GATEWAY, NETWORK_ID=2]
|
||||
ETH0_IP $NIC[IP, NETWORK_ID=2]
|
||||
ETH0_MASK $NETWORK[MASK, NETWORK_ID=2]
|
||||
ETH0_NETWORK $NETWORK[NETWORK, NETWORK_ID=2]
|
||||
FILES path_to_my_ssh_public_key.pub
|
||||
|
||||
Plugin will install all *.pub* files in the root authorized_keys file.
|
||||
|
||||
In case of an EC2 start, if the USER_EC2_DATA element is a script, the plugin will execute it.
|
||||
|
15
plugins/user_packages/README.md
Normal file
15
plugins/user_packages/README.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# 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.
|
Loading…
Add table
Reference in a new issue