Commit 364e2dc7 authored by Reimar Stier's avatar Reimar Stier

resolve dns requests via host dns (virtualbox)

parent a19a66f7
......@@ -38,6 +38,9 @@ Vagrant.configure("2") do |config|
vb.customize ["modifyvm", :id, "--accelerate3d", "on"]
vb.customize ["modifyvm", :id, "--accelerate2dvideo", "on"]
# dns
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
# Adding a SATA controller that allows 4 hard drives
unless File.exist?("disks/" + DISKS[0]["name"] + ".vmdk")
vb.customize ['storagectl', :id, '--name', 'SATA Controller', '--add', 'sata', '--portcount', 4]
......
## Manage Virtualbox configuration
* [Documentation CLI VBoxManage](https://www.virtualbox.org/manual/ch08.html)
### Useful commands
* List running vms
`VBoxManage list vms`
* Long listing (including configuration)
`VBoxManage list vms -l`
* Show vm config
`VBoxManage showvminfo devbox`
* List known hdds (including storage location)
`VBoxManage list hdds`
## Configure guest to use hosts nameservers
```
VBoxManage modifyvm "<VM name>" --natdnshostresolver1 on
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment