| ... | ... |
@@ -34,7 +34,7 @@ Vagrant::Config.run do |config| |
| 34 | 34 |
# Share an additional folder to the guest VM. The first argument is |
| 35 | 35 |
# an identifier, the second is the path on the guest to mount the |
| 36 | 36 |
# folder, and the third is the path on the host to the actual folder. |
| 37 |
- # config.vm.share_folder "v-data", "/vagrant_data", "../data" |
|
| 37 |
+ config.vm.share_folder "v-data", "~/docker", "~/docker" |
|
| 38 | 38 |
|
| 39 | 39 |
# Enable provisioning with Puppet stand alone. Puppet manifests |
| 40 | 40 |
# are contained in a directory path relative to this Vagrantfile. |
| 13 | 13 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,27 @@ |
| 0 |
+# ~/.profile: executed by the command interpreter for login shells. |
|
| 1 |
+# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login |
|
| 2 |
+# exists. |
|
| 3 |
+# see /usr/share/doc/bash/examples/startup-files for examples. |
|
| 4 |
+# the files are located in the bash-doc package. |
|
| 5 |
+ |
|
| 6 |
+# the default umask is set in /etc/profile; for setting the umask |
|
| 7 |
+# for ssh logins, install and configure the libpam-umask package. |
|
| 8 |
+#umask 022 |
|
| 9 |
+ |
|
| 10 |
+# if running bash |
|
| 11 |
+if [ -n "$BASH_VERSION" ]; then |
|
| 12 |
+ # include .bashrc if it exists |
|
| 13 |
+ if [ -f "$HOME/.bashrc" ]; then |
|
| 14 |
+ . "$HOME/.bashrc" |
|
| 15 |
+ fi |
|
| 16 |
+fi |
|
| 17 |
+ |
|
| 18 |
+# set PATH so it includes user's private bin if it exists |
|
| 19 |
+if [ -d "$HOME/bin" ] ; then |
|
| 20 |
+ PATH="$HOME/bin:$PATH" |
|
| 21 |
+fi |
|
| 22 |
+ |
|
| 23 |
+# set ~/docker as the go path |
|
| 24 |
+export GOPATH=~/docker |
|
| 25 |
+# add go to the PATH |
|
| 26 |
+export PATH=$PATH:/usr/local/go/bin |
|
| 0 | 27 |
\ No newline at end of file |