Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vagrantsetup
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
devbox
vagrantsetup
Commits
364e2dc7
Commit
364e2dc7
authored
Oct 17, 2019
by
Reimar Stier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resolve dns requests via host dns (virtualbox)
parent
a19a66f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
Vagrantfile
Vagrantfile
+3
-0
Virtualbox.md
doc/Virtualbox.md
+17
-0
No files found.
Vagrantfile
View file @
364e2dc7
...
...
@@ -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
]
...
...
doc/Virtualbox.md
0 → 100644
View file @
364e2dc7
## 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
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment