Permalink
Browse files

updated packages and networking

  • Loading branch information...
1 parent 66e6597 commit 9722b90dbb010bf6df866cfd59ecf5acd4fa50e5 @mattray mattray committed Dec 3, 2012
Showing with 17 additions and 0 deletions.
  1. +17 −0 roles/lxc.rb
View
@@ -1,9 +1,26 @@
name "lxc"
description "Use lxc for the hypervisor"
+
+run_list(
+ "recipe[lxc]"
+ )
+
override_attributes(
"nova" => {
"libvirt" => {
"virt_type" => "lxc"
}
+ },
+ "lxc" => {
+ "packages" => ['lxc', 'libvirt-bin'],
+ "addr" => '10.0.98.1',
+ "network" => '10.0.98.0/24',
+ "dhcp_range" => '10.0.98.2,10.0.98.254',
+ "containers" => {
+ "example" => {
+ "template" => "ubuntu"
+ }
+ }
}
)
+

0 comments on commit 9722b90

Please sign in to comment.