mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-21 05:25:32 +00:00
Merge pull request #2899 from immarvin/onubtdns
fix issue #2898 on ububuntu 16.4.1-x86_64 diskless, failed to resolve hostname due to lack of libnss_dns.so.2
This commit is contained in:
@ -1657,9 +1657,12 @@ EOMS
|
||||
push @filestoadd, $_;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($arch =~ /x86_64/) {
|
||||
push @filestoadd, "lib64/libnss_dns.so.2";
|
||||
#the path of libnss_dns.so.2 for ubuntu 14.4+
|
||||
push @filestoadd, "lib/x86_64-linux-gnu/libnss_dns.so.2";
|
||||
push @filestoadd, "lib64/libresolv.so.2";
|
||||
} elsif ($arch =~ /ppc64el/) {
|
||||
push @filestoadd, "lib/powerpc64le-linux-gnu/libnss_files.so.2";
|
||||
|
Reference in New Issue
Block a user