Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
Changed sync_folder path in Vagrantfile.local.example to mount parent…
Browse files Browse the repository at this point in the history
… path
  • Loading branch information
tombh authored and mboersma committed Nov 5, 2013
1 parent ce2afc6 commit e86d7c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Vagrantfile.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Vagrant.configure("2") do |config|

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

config.vm.provision :shell, inline: <<-SCRIPT
if [ ! -d #{HOST_BAK_PATH} ]; then
Expand Down
26 changes: 4 additions & 22 deletions docs/installation/vagrant.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,11 @@ VirtualBox.
3. Provision a Deis Controller
------------------------------

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

.. code-block:: console
$ ec2-describe-regions # List regions to see if EC2 tools work
REGION eu-west-1 ec2.eu-west-1.amazonaws.com
REGION sa-east-1 ec2.sa-east-1.amazonaws.com
...
The `knife`_ EC2 plugin is used to bootstrap the controller. It should
have been installed by ``bundle install``:

.. code-block:: console
$ knife ec2 flavor list # List instance types to see if knife-ec2 works
ID Name
c1.medium High-CPU Medium
c1.xlarge High-CPU Extra Large
...
Run the EC2 provisioning script, which takes several minutes to complete:
Run the Vagrant provisioning script, which takes several minutes to complete:

.. code-block:: console
Expand Down

0 comments on commit e86d7c3

Please sign in to comment.