module Landrush::Cap::Arch::InstallDnsmasq
Public Class Methods
install_dnsmasq(_env)
click to toggle source
# File lib/landrush/cap/host/arch/install_dnsmasq.rb, line 6 def install_dnsmasq(_env) system('pacman -Sy --noconfirm > /dev/null 2>&1') system('sudo pacman -S --noconfirm dnsmasq > /dev/null 2>&1') system('sudo sed -i "/^#conf-dir=\/etc\/dnsmasq.d$/s/^#//g" /etc/dnsmasq.conf') end