Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.

Commit

Permalink
Convert command ip route ls to canonical view;
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Chizhov <maksim.chizhov@gmail.com>
  • Loading branch information
marc- authored and Chris Doherty committed Jun 3, 2015
1 parent dfb5dbb commit 17f4b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef/provisioning/docker_driver/docker_transport.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def make_url_available_to_remote(url)
Chef::Log.debug("Making URL available: #{host}")

if host == '127.0.0.1' || host == '::1'
result = execute('ip route ls', :read_only => true)
result = execute('ip route list', :read_only => true)

Chef::Log.debug("IP route: #{result.stdout}")

Expand Down

0 comments on commit 17f4b12

Please sign in to comment.