Skip to content

Commit e86d7c3

Browse files
tombhmboersma
authored andcommitted
Changed sync_folder path in Vagrantfile.local.example to mount parent path
1 parent ce2afc6 commit e86d7c3

2 files changed

Lines changed: 5 additions & 23 deletions

File tree

Vagrantfile.local.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Vagrant.configure("2") do |config|
3636

3737
# Mount the entire Deis codebase onto the VM at /vagrant
3838
# The first param is relative to the location of this file
39-
config.vm.synced_folder "../../../", "/vagrant", owner: 'deis', group: 'deis'
39+
config.vm.synced_folder ".", "/vagrant", owner: 'deis', group: 'deis'
4040

4141
config.vm.provision :shell, inline: <<-SCRIPT
4242
if [ ! -d #{HOST_BAK_PATH} ]; then

docs/installation/vagrant.rst

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,11 @@ VirtualBox.
1515
3. Provision a Deis Controller
1616
------------------------------
1717

18-
The `Amazon EC2 API Tools`_ are used by the provisioning script to create an
19-
EC2 Security Group and Keypair. Please install them and ensure they are
20-
available in your $PATH:
18+
The ``Vagrantfile`` in the project root has the configuration for a Deis
19+
controller. It will first need to download a base image "deis-base," which
20+
may take a while.
2121

22-
.. code-block:: console
23-
24-
$ ec2-describe-regions # List regions to see if EC2 tools work
25-
REGION eu-west-1 ec2.eu-west-1.amazonaws.com
26-
REGION sa-east-1 ec2.sa-east-1.amazonaws.com
27-
...
28-
29-
The `knife`_ EC2 plugin is used to bootstrap the controller. It should
30-
have been installed by ``bundle install``:
31-
32-
.. code-block:: console
33-
34-
$ knife ec2 flavor list # List instance types to see if knife-ec2 works
35-
ID Name
36-
c1.medium High-CPU Medium
37-
c1.xlarge High-CPU Extra Large
38-
...
39-
40-
Run the EC2 provisioning script, which takes several minutes to complete:
22+
Run the Vagrant provisioning script, which takes several minutes to complete:
4123

4224
.. code-block:: console
4325

0 commit comments

Comments
 (0)