Skip to content

Commit

Permalink
fix: Stable OmniOS Networking via DLADM and zlogin
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkProminic authored Aug 19, 2023
1 parent 91488ae commit 93e338b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/vagrant-zones/action/destroy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def initialize(app, _env)

def call(env)
@machine = env[:machine]
@driver = @machine.provider.driver
@driver = @machine.provider.driver
@driver.halt(env[:ui])
@driver.destroy(env[:ui])
@driver.delete_dataset(env[:ui])
Expand Down
1 change: 0 additions & 1 deletion lib/vagrant-zones/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,6 @@ def zoneniczloginsetup_netplan(uii, opts, mac)
cmd = "echo '#{netplan}' > /etc/netplan/#{vnic_name}.yaml"
infomessage = I18n.t('vagrant_zones.netplan_applied_static') + "/etc/netplan/#{vnic_name}.yaml"
uii.info(infomessage) if zlogin(uii, cmd)
## Apply the Configuration
uii.info(I18n.t('vagrant_zones.netplan_applied')) if zlogin(uii, 'netplan apply')
end

Expand Down

0 comments on commit 93e338b

Please sign in to comment.