Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx-platform
Commits
aa3a7b0e
Commit
aa3a7b0e
authored
Feb 28, 2014
by
Han Su Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing Vagrantfile, no longer used, please see configuration repo
parent
c5439de1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
34 deletions
+0
-34
Vagrantfile
+0
-34
No files found.
Vagrantfile
deleted
100644 → 0
View file @
c5439de1
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
"precise32"
config
.
vm
.
box_url
=
"http://files.vagrantup.com/precise32.box"
config
.
vm
.
network
:forwarded_port
,
guest:
8000
,
host:
9000
config
.
vm
.
network
:forwarded_port
,
guest:
8001
,
host:
9001
# Create a private network, which allows host-only access to the machine
# using a specific IP.
config
.
vm
.
network
:private_network
,
ip:
"192.168.20.40"
nfs_setting
=
RUBY_PLATFORM
=~
/darwin/
||
RUBY_PLATFORM
=~
/linux/
config
.
vm
.
synced_folder
"."
,
"/opt/edx/edx-platform"
,
id:
"vagrant-root"
,
:nfs
=>
nfs_setting
# Make it so that network access from the vagrant guest is able to
# use SSH private keys that are present on the host without copying
# them into the VM.
config
.
ssh
.
forward_agent
=
true
config
.
vm
.
provider
:virtualbox
do
|
vb
|
# Use VBoxManage to customize the VM. For example to change memory:
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
"2048"
]
# This setting makes it so that network access from inside the vagrant guest
# is able to resolve DNS using the hosts VPN connection.
vb
.
customize
[
"modifyvm"
,
:id
,
"--natdnshostresolver1"
,
"on"
]
end
config
.
vm
.
provision
:shell
,
:path
=>
"scripts/install-acceptance-req.sh"
config
.
vm
.
provision
:shell
,
:path
=>
"scripts/vagrant-provisioning.sh"
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