driver/cli: Improved lxc-attach check [GH-294]
This commit is contained in:
parent
3fe6cc094e
commit
f49585db51
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue