Added use_ipv6 to the config file.

This commit is contained in:
Dan Prince 2011-04-14 22:47:28 -04:00
parent 65a6599dfe
commit 283816600d
4 changed files with 7 additions and 1 deletions

View File

@ -44,3 +44,4 @@ default[:nova][:image_service] = "nova.image.s3.S3ImageService"
default[:nova][:glance_host] = "localhost"
default[:nova][:glance_port] = "9292"
default[:nova][:lock_path] = "/var/lib/nova/tmp"
default[:nova][:use_ipv6] = "False"

View File

@ -20,6 +20,10 @@
include_recipe "nova::common"
nova_package("network")
if node[:nova][:use_ipv6] == "True" then
package "radvd"
end
execute "sysctl -p" do
user "root"
action :nothing

View File

@ -26,3 +26,4 @@
--image_service=<%= node[:nova][:image_service] %>
--lock_path=<%= node[:nova][:lock_path] %>
--sql_idle_timeout=<%= node[:nova][:db][:sql_idle_timeout] %>
--use_ipv6=<%= node[:nova][:use_ipv6] %>

View File

@ -30,7 +30,7 @@ net.ipv4.ip_forward=1
# Uncomment the next line to enable packet forwarding for IPv6
# Enabling this option disables Stateless Address Autoconfiguration
# based on Router Advertisements for this host
#net.ipv6.conf.all.forwarding=1
net.ipv6.conf.all.forwarding=1
###################################################################