Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Regression on power off action when using network_bridge, Fixes #67
Browse files Browse the repository at this point in the history
  • Loading branch information
frapposelli committed May 21, 2014
1 parent 1d1df8e commit 3e33bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-vcloud/action/power_off_vapp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def call(env)

# this is a helper to get vapp_edge_ip into cache for later destroy
# of edge gateway rules
vapp_edge_ip = cnx.get_vapp_edge_public_ip(vapp_id)
vapp_edge_ip = cnx.get_vapp_edge_public_ip(vapp_id) if cfg.network_bridge.nil?

# Poweroff vApp
env[:ui].info('Single VM left in the vApp, Powering off vApp...')
Expand Down

0 comments on commit 3e33bcf

Please sign in to comment.