{"action":"closed","issue":{"url":"https://api.github.com/repos/vagrant-landrush/landrush/issues/276","repository_url":"https://api.github.com/repos/vagrant-landrush/landrush","labels_url":"https://api.github.com/repos/vagrant-landrush/landrush/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/vagrant-landrush/landrush/issues/276/comments","events_url":"https://api.github.com/repos/vagrant-landrush/landrush/issues/276/events","html_url":"https://github.com/vagrant-landrush/landrush/issues/276","id":181813361,"node_id":"MDU6SXNzdWUxODE4MTMzNjE=","number":276,"title":"Windows: hostname vs FQDN","user":{"login":"proteansec","id":1753498,"node_id":"MDQ6VXNlcjE3NTM0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1753498?v=4","gravatar_id":"","url":"https://api.github.com/users/proteansec","html_url":"https://github.com/proteansec","followers_url":"https://api.github.com/users/proteansec/followers","following_url":"https://api.github.com/users/proteansec/following{/other_user}","gists_url":"https://api.github.com/users/proteansec/gists{/gist_id}","starred_url":"https://api.github.com/users/proteansec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proteansec/subscriptions","organizations_url":"https://api.github.com/users/proteansec/orgs","repos_url":"https://api.github.com/users/proteansec/repos","events_url":"https://api.github.com/users/proteansec/events{/privacy}","received_events_url":"https://api.github.com/users/proteansec/received_events","type":"User","site_admin":false},"labels":[{"id":32451937,"node_id":"MDU6TGFiZWwzMjQ1MTkzNw==","url":"https://api.github.com/repos/vagrant-landrush/landrush/labels/kind/bug","name":"kind/bug","color":"84b6eb","default":false},{"id":472347737,"node_id":"MDU6TGFiZWw0NzIzNDc3Mzc=","url":"https://api.github.com/repos/vagrant-landrush/landrush/labels/os/windows","name":"os/windows","color":"fef2c0","default":false},{"id":532772940,"node_id":"MDU6TGFiZWw1MzI3NzI5NDA=","url":"https://api.github.com/repos/vagrant-landrush/landrush/labels/priority/major","name":"priority/major","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-08T08:36:27Z","updated_at":"2018-09-13T07:59:11Z","closed_at":"2018-09-13T07:59:11Z","author_association":"NONE","body":"The relevant part of the Vagrantfile is shown below, where the problematic option is highlighted.\n\n>   config.vm.define \"vagrant-win8x86-enterprise\"\n>   config.vm.box = \"win8x86-enterprise\"\n>   config.vm.hostname = \"win8x86-enterprise\"\n> \n>   # create a private network\n>   config.vm.network :private_network, ip: \"172.28.128.5\"\n>   config.vm.communicator = \"winrm\"\n>   config.winrm.username = 'vagrant'\n>   config.winrm.password = 'vagrant'\n>   config.vm.guest = :windows\n> \n>   # enable landrush DNS\n>   if Vagrant.has_plugin?(\"landrush\")\n>     config.landrush_ip.auto_install = true\n>     config.landrush.enabled = true\n>     config.landrush.guest_redirect_dns = false\n>     config.landrush.host_redirect_dns= false\n>     **config.landrush.host 'win8x86-enterprise.vagrant.test', '172.28.128.5'**\n>   end\n\nThen running _vagrant up_, there's an error when setting the hostname of the guest Windows machine, because I've specified the FQDN name.\n\n> ==> vagrant-win8x86-enterprise: Machine booted and ready!\n> Sorry, don't know how to check guest version of Virtualbox Guest Additions on this platform. Stopping installation.\n> ==> vagrant-win8x86-enterprise: Checking for guest additions in VM...\n> Stopping daemon...\n> Sending KILL to process 27161...\n> ==> vagrant-win8x86-enterprise: Setting hostname...\n> Renaming the Windows guest failed. Most often this is because you've\n> specified a FQDN instead of just a host name.\n> \n> Ensure the new guest name is properly formatted. Standard names may\n> contain letters (a-z, A-Z), numbers (0-9), and hypens (-), but no\n> spaces or periods (.). The name may not consist entirely of digits.\n\nOk, I get the point, let's modify the **config.landrush.host** option to only include the hostname without the domain part. The relevant part of the Vagrantfile is again shown below.\n\n>   config.vm.define \"vagrant-win8x86-enterprise\"\n>   config.vm.box = \"win8x86-enterprise\"\n>   config.vm.hostname = \"win8x86-enterprise\"\n> \n>   # create a private network\n>   config.vm.network :private_network, ip: \"172.28.128.5\"\n>   config.vm.communicator = \"winrm\"\n>   config.winrm.username = 'vagrant'\n>   config.winrm.password = 'vagrant'\n>   config.vm.guest = :windows\n> \n>   # enable landrush DNS\n>   if Vagrant.has_plugin?(\"landrush\")\n>     config.landrush_ip.auto_install = true\n>     config.landrush.enabled = true\n>     config.landrush.guest_redirect_dns = false\n>     config.landrush.host_redirect_dns= false\n>     **config.landrush.host 'win8x86-enterprise', '172.28.128.5'**\n>   end\n\nAfter doing _vagrant up_ I again receive an error, this time about the **hostname** not matching the configured TLD **vagrant.test**.\n\n> ==> vagrant-win8x86-enterprise: Machine booted and ready!\n> Sorry, don't know how to check guest version of Virtualbox Guest Additions on this platform. Stopping installation.\n> ==> vagrant-win8x86-enterprise: Checking for guest additions in VM...\n> ==> vagrant-win8x86-enterprise: [landrush] removing machine entry: win8x86-enterprise\n> Stopping daemon...\n> Sending KILL to process 2001...\n> ==> vagrant-win8x86-enterprise: Setting hostname...\n> ==> vagrant-win8x86-enterprise: Configuring and enabling network interfaces...\n> ==> vagrant-win8x86-enterprise: Landrush IP not installed in guest yet (or it's an outdated version). Installing now.\n> ==> vagrant-win8x86-enterprise: [landrush] hostname win8x86-enterprise does not match the configured TLD: vagrant.test\n> ==> vagrant-win8x86-enterprise: [landrush] You will not be able to access win8x86-enterprise from the host\n> ==> vagrant-win8x86-enterprise: [landrush] adding machine entry: win8x86-enterprise => 172.28.128.5\n\nTherefore, the error says I have to configure the hostname back as it was before, but that also produced an error.\n"}}
{"actor":{"display_login":"hferentschik"}}