Skip to content

Commit

Permalink
Only skip provision with --no-provision
Browse files Browse the repository at this point in the history
If --no-provision is not specify, the key provision_enabled does
not exist. So in order to skip, it needs to exist and be false.
  • Loading branch information
Martin Roy authored and Simon committed Nov 29, 2018
1 parent 35accc4 commit 61170e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-openstack-cloud-provider/action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def self.action_up
end

b2.use ConnectOpenStack
if env[:provision_enabled]
unless env[:provision_enabled] == false
b2.use Provision
b2.use SyncFolders
end
Expand Down

0 comments on commit 61170e1

Please sign in to comment.