From eb83073e61bafc438141bbb1c003a430514c1a1e Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 7 Jan 2013 07:23:55 +0000 Subject: [PATCH] dhcp support on debian git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/dhcp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index 98ad613fc..8d6af37c7 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -1469,7 +1469,7 @@ sub process_request { restart_dhcpd_aix(); } - elsif ( $distro =~ /ubuntu.*/) + elsif ( $distro =~ /ubuntu.*/ || $distro =~ /debian.*/i) { if (-e '/etc/dhcp/dhcpd.conf') { system("chmod a+r /etc/dhcp/dhcpd.conf");