Skip to content
Snippets Groups Projects
Commit 43f7f021 authored by Mate Farkas's avatar Mate Farkas
Browse files

Vagrant hostnames should be set based on the directory name (by default).

- The hostname set for the VM should only contain letters, numbers, hyphens or dots. It cannot start with a hyphen or dot.
parent 887fee0b
Branches
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@
IMAGE = 'matefarkas/xenial:base'
Vagrant.configure(2) do |config|
config.vm.hostname = Dir.pwd.split('/')[-1]
config.vm.provider "docker" do |docker|
docker.image = IMAGE
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment