mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 08:10:12 +00:00
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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user