diff --git a/plugins/providers/docker/action/prepare_networks.rb b/plugins/providers/docker/action/prepare_networks.rb index a61aa82e9..036651d46 100644 --- a/plugins/providers/docker/action/prepare_networks.rb +++ b/plugins/providers/docker/action/prepare_networks.rb @@ -153,6 +153,10 @@ module VagrantPlugins # Generate configuration for public network # + # TODO: When the Vagrant installer upgrades to Ruby 2.5.x, + # remove all instances of the roundabout way of determining a prefix + # and instead just use the built-in `.prefix` method + # # @param [Hash] root_options Root networking options # @param [Hash] net_options Docker scoped networking options # @param [Hash] env Local call env @@ -259,6 +263,10 @@ module VagrantPlugins # Request the IP range allowed for use by docker when creating a new # public network # + # TODO: When the Vagrant installer upgrades to Ruby 2.5.x, + # remove all instances of the roundabout way of determining a prefix + # and instead just use the built-in `.prefix` method + # # @param [Hash] network_options Docker scoped networking options # @param [Socket::Ifaddr] interface The bridge interface used # @param [Hash] env Local call env