Added use_ipv6 to the config file.
This commit is contained in:
parent
65a6599dfe
commit
283816600d
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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] %>
|
||||
|
@ -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
|
||||
|
||||
|
||||
###################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user