Skip to content

Commit

Permalink
fix: missing config var
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkProminic committed Nov 23, 2022
1 parent ef90053 commit 19ad3b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/vagrant-zones/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def nictype(opts)

# This Sanitizes the DNS Records
def dnsservers(uii, opts)
config = @machine.provider_config
servers = opts['dns']
servers = [{ 'nameserver' => '1.1.1.1' }, { 'nameserver' => '8.8.8.8' }] if opts['dns'].nil?
uii.info(I18n.t('vagrant_zones.nsservers') + servers.to_s) if config.debug
Expand Down
2 changes: 1 addition & 1 deletion lib/vagrant-zones/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module VagrantPlugins
module ProviderZone
VERSION = '0.1.42'
VERSION = '0.1.12'
end
end

0 comments on commit 19ad3b1

Please sign in to comment.