Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
911ce6a3
Commit
911ce6a3
authored
Jan 05, 2017
by
Ned Batchelder
Committed by
GitHub
Jan 05, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3590 from edx/ned/conditional-virtio
Don't use virtio for dogwood or eucalyptus boxes
parents
199311fe
1bcec28b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
vagrant/release/devstack/Vagrantfile
+7
-1
No files found.
vagrant/release/devstack/Vagrantfile
View file @
911ce6a3
...
...
@@ -109,7 +109,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config
.
vm
.
box
=
boxname
config
.
vm
.
box_url
=
"http://files.edx.org/vagrant-images/
#{
boxfile
}
"
config
.
vm
.
network
:private_network
,
ip:
"192.168.33.10"
,
nic_type:
"virtio"
config
.
vm
.
network
:private_network
,
ip:
"192.168.33.10"
# If you want to run the box but don't need network ports, set VAGRANT_NO_PORTS=1.
# This is useful if you want to run more than one box at once.
...
...
@@ -155,6 +155,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Allow DNS to work for Ubuntu 12.10 host
# http://askubuntu.com/questions/238040/how-do-i-fix-name-service-for-vagrant-client
vb
.
customize
[
"modifyvm"
,
:id
,
"--natdnshostresolver1"
,
"on"
]
# Virtio is faster, but the box needs to have support for it. We didn't
# have support in the boxes before Ficus.
if
!
(
boxname
.
include?
(
"dogwood"
)
||
boxname
.
include?
(
"eucalyptus"
))
vb
.
customize
[
'modifyvm'
,
:id
,
'--nictype1'
,
'virtio'
]
end
end
# Use vagrant-vbguest plugin to make sure Guest Additions are in sync
...
...
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