From d427dd03d8e5996d546c0f2fe0bc66be2f1d0a19 Mon Sep 17 00:00:00 2001 From: Brian Dwyer Date: Tue, 2 May 2017 23:30:10 -0400 Subject: [PATCH] Add support for Kali Linux Signed-off-by: Brian Dwyer --- plugins/guests/kali/guest.rb | 10 ++++++++++ plugins/guests/kali/plugin.rb | 15 +++++++++++++++ 2 files changed, 25 insertions(+) create mode 100755 plugins/guests/kali/guest.rb create mode 100755 plugins/guests/kali/plugin.rb diff --git a/plugins/guests/kali/guest.rb b/plugins/guests/kali/guest.rb new file mode 100755 index 000000000..fbc12ae3c --- /dev/null +++ b/plugins/guests/kali/guest.rb @@ -0,0 +1,10 @@ +require_relative '../linux/guest' + +module VagrantPlugins + module GuestKali + class Guest < VagrantPlugins::GuestLinux::Guest + # Name used for guest detection + GUEST_DETECTION_NAME = "kali".freeze + end + end +end diff --git a/plugins/guests/kali/plugin.rb b/plugins/guests/kali/plugin.rb new file mode 100755 index 000000000..44565f899 --- /dev/null +++ b/plugins/guests/kali/plugin.rb @@ -0,0 +1,15 @@ +require "vagrant" + +module VagrantPlugins + module GuestKali + class Plugin < Vagrant.plugin("2") + name "Kali guest" + description "Kali guest support." + + guest(:kali, :debian) do + require_relative "guest" + Guest + end + end + end +end