mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Merge pull request #666 from jistr/fix-default-prefix
Fix default_prefix behavior
This commit is contained in:
commit
e112d6fd81
@ -51,7 +51,7 @@ module VagrantPlugins
|
||||
# don't have any prefix, not even "_"
|
||||
""
|
||||
else
|
||||
config.default_prefix.to_s.concat("_")
|
||||
config.default_prefix.to_s.dup.concat("_")
|
||||
end
|
||||
domain_name << env[:machine].name.to_s
|
||||
domain_name.gsub!(/[^-a-z0-9_\.]/i, '')
|
||||
|
Loading…
Reference in New Issue
Block a user