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
OpenEdx
configuration
Commits
800ce206
Commit
800ce206
authored
Oct 10, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make devstack release Vagrantfile use aspen-rc1 box if requested
parent
3629dd73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
vagrant/release/devstack/Vagrantfile
+13
-3
No files found.
vagrant/release/devstack/Vagrantfile
View file @
800ce206
...
...
@@ -54,11 +54,21 @@ if ENV['VAGRANT_MOUNT_BASE']
end
openedx_releases
=
{
"openedx/rc/aspen-2014-09-10"
=>
{
:name
=>
"aspen-rc1"
,
:file
=>
"20141009-aspen-devstack-rc1.box"
,
}
}
openedx_releases
.
default
=
{
:name
=>
"kifli-devstack"
,
:file
=>
"20140826-kifli-devstack.box"
}
rel
=
ENV
[
'OPENEDX_RELEASE'
]
Vagrant
.
configure
(
VAGRANTFILE_API_VERSION
)
do
|
config
|
# Creates an edX devstack VM from an official release
config
.
vm
.
box
=
"kifli-devstack"
config
.
vm
.
box_url
=
"http://files.edx.org/vagrant-images/
20140826-kifli-devstack.box
"
config
.
vm
.
box
=
openedx_releases
[
rel
][
:name
]
config
.
vm
.
box_url
=
"http://files.edx.org/vagrant-images/
#{
openedx_releases
[
rel
][
:file
]
}
"
config
.
vm
.
network
:private_network
,
ip:
"192.168.33.10"
config
.
vm
.
network
:forwarded_port
,
guest:
8000
,
host:
8000
...
...
@@ -119,5 +129,5 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Assume that the base box has the edx_ansible role installed
# We can then tell the Vagrant instance to update itself.
config
.
vm
.
provision
"shell"
,
inline:
$script
,
args:
ENV
[
'OPENEDX_RELEASE'
]
config
.
vm
.
provision
"shell"
,
inline:
$script
,
args:
rel
end
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