Merge pull request #5922 from mitchellh/sethvargo/docker_space_args

Add a space before args
This commit is contained in:
Mitchell Hashimoto 2015-07-10 11:50:07 -06:00
commit 66b1ac7f05
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ module VagrantPlugins
args << "-d " if config[:daemonize]
args << "--name #{name} " if name && config[:auto_assign_name]
args << "--restart=#{config[:restart]}" if config[:restart]
args << config[:args] if config[:args]
args << " #{config[:args]}" if config[:args]
@machine.communicate.sudo %[
rm -f #{config[:cidfile]}
docker run #{args} #{config[:image]} #{config[:cmd]}