Skip to content

Commit e413c23

Browse files
committed
Add Debian
1 parent ae2a545 commit e413c23

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

lib/invoker/power/setup/distro/base.rb

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ def self.distro_installer
1616
when "Archlinux"
1717
require "invoker/power/setup/distro/arch"
1818
Arch.new
19+
when "Debian"
20+
require "invoker/power/setup/distro/debian"
21+
Debian.new
1922
else
2023
raise "Your selected distro is not supported by Invoker"
2124
end
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module Invoker
2+
module Power
3+
module Distro
4+
class Debian < Base
5+
def install_required_software
6+
system("apt-get --assume-yes install dnsmasq rinetd")
7+
end
8+
end
9+
end
10+
end
11+
end

0 commit comments

Comments
 (0)