-
-
Notifications
You must be signed in to change notification settings - Fork 980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename virtualbox VM names to predictable [ci skip] #139
Conversation
Hi! I suggest you to add this to make virtualbox vm names more predictable. Now i suspect that virtualbox vm names are slightly random. cfg.vm.provider "virtualbox" do |vb, override| ... vb.name = "name.windomain.local" ... end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this PR! Two things need to happen before merge:
- Change logger.windomain.local to logger
2.Add v.vmx["displayname"] = $hostname
(where $hostname is the name of the host) to the vmware_fusion and vmware_desktop sections so that this stays consistent across VBox and VMware
Vagrant/Vagrantfile
Outdated
@@ -20,6 +20,7 @@ Vagrant.configure("2") do |config| | |||
|
|||
cfg.vm.provider "virtualbox" do |vb, override| | |||
vb.gui = true | |||
vb.name = "logger.windomain.local" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logger is not part of the domain, and should therefore just be "logger"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added vm displaynames to vmware profiles
Looks good, thank you |
Hi!
I suggest you to add this to make virtualbox vm names more predictable.
Now i suspect that virtualbox vm names are slightly random.
cfg.vm.provider "virtualbox" do |vb, override|
...
vb.name = "name.windomain.local"
...
end