forked from niklas/chef-lxc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
register new vm at chef server (main host must have admin client!!!)
- Loading branch information
Showing
2 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
= DESCRIPTION: | ||
Creates RootFS for virtual machines used by LXC (Linux Containers) | ||
Creates RootFS for virtual machines used by LXC (Linux Containers) and provisions them until they are registered at the same chef server. | ||
|
||
= REQUIREMENTS: | ||
* debootstrap | ||
* ... | ||
|
||
= WARNING: | ||
|
||
You must make Client of the Host an Admin in the Chef WebUI, else it cannot register the VMs as new clients. | ||
|
||
= ATTRIBUTES: | ||
|
||
= USAGE: | ||
|
||
Create a databag called +virtual_machines+ and create machines with the following attributes: | ||
|
||
* :id | ||
* :domain (optional) | ||
* :variant (optional - minbase) | ||
* :suite (optional - lucid) | ||
* :ip4v | ||
* :cidr (i.e. 192.168.168.100/24) | ||
|
||
|
||
Details following.. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters