vagrant-vbguest 0.3.3.a → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/files/setup_debian.sh +9 -2
- data/lib/vagrant-vbguest/installer.rb +1 -1
- data/lib/vagrant-vbguest/version.rb +1 -1
- metadata +3 -3
data/files/setup_debian.sh
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
#!/bin/bash
|
2
|
-
|
2
|
+
function do_install {
|
3
|
+
apt-get install -y linux-headers-`uname -r` dkms
|
4
|
+
}
|
5
|
+
|
6
|
+
do_install || (apt-get update && do_install) || exit 1
|
7
|
+
|
3
8
|
mount /tmp/VBoxGuestAdditions.iso -o loop /mnt
|
4
9
|
/mnt/VBoxLinuxAdditions.run --nox11
|
5
|
-
umount /mnt
|
10
|
+
umount /mnt
|
11
|
+
|
12
|
+
exit 0
|
@@ -76,7 +76,7 @@ module VagrantVbguest
|
|
76
76
|
case platform
|
77
77
|
when :debian, :ubuntu
|
78
78
|
File.expand_path("../../../files/setup_debian.sh", __FILE__)
|
79
|
-
when :gentoo, :redhat, :suse, :arch, :linux
|
79
|
+
when :gentoo, :redhat, :suse, :arch, :fedora, :linux
|
80
80
|
@vm.ui.warn(I18n.t("vagrant.plugins.vbguest.generic_install_script_for_platform", :platform => platform.to_s))
|
81
81
|
File.expand_path("../../../files/setup_linux.sh", __FILE__)
|
82
82
|
else
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vbguest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.3
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.3
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Robert Schulze
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|