fix incompatibility issue with ppa:ubuntu-lxc/stable and ppa:ubuntu-lxc/daily
This commit is contained in:
parent
6779556650
commit
e4e4551aea
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ module Vagrant
|
||||||
end
|
end
|
||||||
|
|
||||||
def state
|
def state
|
||||||
if @name && run(:info, '--name', @name, retryable: true) =~ /^state:[^A-Z]+([A-Z]+)$/
|
if @name && run(:info, '--name', @name, retryable: true) =~ /^[Ss]tate: *[^A-Z]+([A-Z]+)$/
|
||||||
$1.downcase.to_sym
|
$1.downcase.to_sym
|
||||||
elsif @name
|
elsif @name
|
||||||
:unknown
|
:unknown
|
||||||
|
|
Loading…
Reference in a new issue