[packages/vagrant] add ssh agent sample to Vagrantfile
glen
glen at pld-linux.org
Fri Jun 7 18:00:33 CEST 2013
commit b0cb68b44401e40cc90e35d542349f3b149a5779
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jun 7 19:00:22 2013 +0300
add ssh agent sample to Vagrantfile
Vagrantfile-ssh-agent.patch | 13 +++++++++++++
vagrant.spec | 4 +++-
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/vagrant.spec b/vagrant.spec
index 01415d3..ede1884 100644
--- a/vagrant.spec
+++ b/vagrant.spec
@@ -3,7 +3,7 @@
Summary: Provisioning and deployment of virtual instances
Name: vagrant
Version: 1.2.2
-Release: 1
+Release: 2
License: MIT
Group: Applications/Emulators
Source0: https://github.com/mitchellh/vagrant/archive/v%{version}.tar.gz?/%{name}-%{version}.tgz
@@ -11,6 +11,7 @@ Source0: https://github.com/mitchellh/vagrant/archive/v%{version}.tar.gz?/%{name
Patch0: source_root.patch
Patch1: rubygems.patch
Patch2: no-warning.patch
+Patch3: Vagrantfile-ssh-agent.patch
URL: http://vagrantup.com/
BuildRequires: ruby-contest >= 0.1.2
BuildRequires: ruby-minitest >= 2.5.1
@@ -103,6 +104,7 @@ Ruby documentation for %{gem_name}
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/Vagrantfile-ssh-agent.patch b/Vagrantfile-ssh-agent.patch
new file mode 100644
index 0000000..c0cf263
--- /dev/null
+++ b/Vagrantfile-ssh-agent.patch
@@ -0,0 +1,13 @@
+--- vagrant-1.2.2/./templates/commands/init/Vagrantfile.erb~ 2013-04-23 23:05:18.000000000 +0300
++++ vagrant-1.2.2/./templates/commands/init/Vagrantfile.erb 2013-06-07 18:57:30.102493291 +0300
+@@ -27,6 +27,10 @@
+ # your network.
+ # config.vm.network :public_network
+
++ # If true, then any SSH connections made will enable agent forwarding.
++ # Default value: false
++ # config.ssh.forward_agent = true
++
+ # Share an additional folder to the guest VM. The first argument is
+ # the path on the host to the actual folder. The second argument is
+ # the path on the guest to mount the folder. And the optional third
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vagrant.git/commitdiff/b0cb68b44401e40cc90e35d542349f3b149a5779
More information about the pld-cvs-commit
mailing list