diff --git a/lib/vagrant-lxc/driver/cli.rb b/lib/vagrant-lxc/driver/cli.rb index b9f6ee3..d378288 100644 --- a/lib/vagrant-lxc/driver/cli.rb +++ b/lib/vagrant-lxc/driver/cli.rb @@ -130,7 +130,7 @@ module Vagrant unless defined?(@supports_attach) begin @supports_attach = true - run(:attach, '--name', @name, 'true') + run(:attach, '--name', @name, '--', '/bin/true') rescue LXC::Errors::ExecuteError @supports_attach = false end