]> git.pld-linux.org Git - packages/vagrant.git/blob - pld-networking.patch
fix networking detection for pld
[packages/vagrant.git] / pld-networking.patch
1 --- /dev/null   2015-05-25 21:49:42.000000000 +0300
2 +++ vagrant-1.7.4/plugins/guests/pld/cap/flavor.rb      2015-08-21 12:37:06.511699482 +0300
3 @@ -0,0 +1,11 @@
4 +module VagrantPlugins
5 +  module GuestPld
6 +    module Cap
7 +      class Flavor
8 +        def self.flavor(machine)
9 +          return :pld
10 +        end
11 +      end
12 +    end
13 +  end
14 +end
15 --- vagrant-1.7.4/plugins/guests/pld/plugin.rb~ 2015-07-17 22:38:51.000000000 +0300
16 +++ vagrant-1.7.4/plugins/guests/pld/plugin.rb  2015-08-21 12:39:33.651261462 +0300
17 @@ -20,6 +20,11 @@
18          require_relative "cap/network_scripts_dir"
19          Cap::NetworkScriptsDir
20        end
21 +
22 +      guest_capability("pld", "flavor") do
23 +        require_relative "cap/flavor"
24 +        Cap::Flavor
25 +      end
26      end
27    end
28  end
This page took 0.034723 seconds and 3 git commands to generate.