From 6ad5a90a029032c082fc6447c6d5c4723b11cddd Mon Sep 17 00:00:00 2001 From: Leonid Makarov Date: Mon, 14 Sep 2015 14:34:28 -0400 Subject: [PATCH 1/2] Home directory mapping --- Vagrantfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index e91ac1a..a71d67a 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -172,7 +172,12 @@ Vagrant.configure("2") do |config| mount_options: ["dmode=770", "fmode=660"] end - # Make host SSH keys available to containers on /.ssh + # Make host home directory available to containers in /.home + if File.directory?(File.expand_path("~")) + config.vm.synced_folder "~", "/.home" + end + + # Make host SSH keys available to containers in /.ssh (legacy, TO BE REMOVED soon) if File.directory?(File.expand_path("~/.ssh")) config.vm.synced_folder "~/.ssh", "/.ssh" end From 1e1e38a6514bab23d459f6a914567a51d333f73c Mon Sep 17 00:00:00 2001 From: Leonid Makarov Date: Mon, 14 Sep 2015 14:38:05 -0400 Subject: [PATCH 2/2] Bump to v1.0.1 --- CHANGELOG.md | 4 ++++ VERSION | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1554c24..bd48b7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.1 (2015-09-14) + +- Host's home directory mapping (`~ => /.home`) to make SSH keys and other credentials and configs available to containers. + ## 1.0.0 (2015-09-14) - SMB mounts on Windows diff --git a/VERSION b/VERSION index 3eefcb9..7dea76e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0 +1.0.1