From 656f9f9056a59cca2edf7939d14390127eca152b Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 10 Feb 2013 12:31:08 -0800 Subject: moved vagrant config to Leapfile, added ~/.leaprc support. --- lib/leap_cli/config/manager.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'lib/leap_cli/config') diff --git a/lib/leap_cli/config/manager.rb b/lib/leap_cli/config/manager.rb index 79a5c0e..b90c741 100644 --- a/lib/leap_cli/config/manager.rb +++ b/lib/leap_cli/config/manager.rb @@ -284,14 +284,8 @@ module LeapCli end end - # - # TODO: apply JSON spec - # - PRIVATE_IP_RANGES = /(^127\.0\.0\.1)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^192\.168\.)/ def validate_provider(provider) - Util::assert! provider.vagrant.network =~ PRIVATE_IP_RANGES do - log 0, :error, 'in provider.json: vagrant.network is not a local private network' - end + # nothing yet. end end -- cgit v1.2.3