add basic pld linux support
PLD Linux Distribution: https://www.pld-linux.org/
This commit is contained in:
parent
43d85930ed
commit
bd8a24e945
|
@ -29,6 +29,7 @@ module VagrantPlugins
|
|||
return :fedora if comm.test("grep 'Fedora release 1[678]' /etc/redhat-release")
|
||||
return :redhat if comm.test("cat /etc/redhat-release")
|
||||
return :suse if comm.test("cat /etc/SuSE-release")
|
||||
return :pld if comm.test("cat /etc/pld-release")
|
||||
return :arch if comm.test("cat /etc/arch-release")
|
||||
return :solaris if comm.test("grep 'Solaris' /etc/release")
|
||||
end
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
require "vagrant"
|
||||
|
||||
require Vagrant.source_root.join("plugins/guests/redhat/guest")
|
||||
|
||||
module VagrantPlugins
|
||||
module GuestPld
|
||||
class Guest < VagrantPlugins::GuestRedHat::Guest
|
||||
def network_scripts_dir
|
||||
'/etc/sysconfig/interfaces/'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,15 @@
|
|||
require "vagrant"
|
||||
|
||||
module VagrantPlugins
|
||||
module GuestPld
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "PLD Linux guest"
|
||||
description "PLD Linux guest support."
|
||||
|
||||
guest("pld") do
|
||||
require File.expand_path("../guest", __FILE__)
|
||||
Guest
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue