fix deprecated docker arguments

This commit is contained in:
Martin Englund 2014-03-29 22:49:52 -07:00
parent b52d60d178
commit 53194f8e12
1 changed files with 2 additions and 2 deletions

View File

@ -75,9 +75,9 @@ module VagrantPlugins
end
def create_container(config)
args = "-cidfile=#{config[:cidfile]} "
args = "--cidfile=#{config[:cidfile]} "
args << "-d " if config[:daemonize]
args << "-name #{config[:name]} " if config[:name] && config[:auto_assign_name]
args << "--name #{config[:name]} " if config[:name] && config[:auto_assign_name]
args << config[:args] if config[:args]
@machine.communicate.sudo %[
rm -f #{config[:cidfile]}