Skip to content

Commit ee488f9

Browse files
committed
IPv6: Make sure the address written to crowbarrc is wrapped
1 parent 4e70134 commit ee488f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chef/cookbooks/crowbar/recipes/default.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
if node[:crowbar][:network].key?(:admin) && node[:crowbar].key?(:apache)
280280
address = node[:crowbar][:network][:admin][:address]
281281
protocol = node[:crowbar][:apache][:ssl] ? "https" : "http"
282-
server = "#{protocol}://#{address}"
282+
server = "#{protocol}://#{NetworkHelper.wrap_ip(address)}"
283283
verify_ssl = !node[:crowbar][:apache][:insecure]
284284
else
285285
server = nil

0 commit comments

Comments
 (0)