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:
parent
13202bf4a7
commit
7e76137b2b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user