Ubuntu: makedhcp -n can't create new dhcp.conf file when there is not /etc/dhcp/dhcpd.conf

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-01-05 02:50:27 +00:00
parent 13202bf4a7
commit 7e76137b2b

View File

@ -65,7 +65,7 @@ my $usingipv6;
# is this ubuntu ?
if ( $distro =~ /ubuntu.*/ ){
if (-e '/etc/dhcp/dhcpd.conf') {
if (-e '/etc/dhcp/') {
$dhcpconffile = '/etc/dhcp/dhcpd.conf';
}
else {