mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-16 19:30:26 +00:00
fix issue #2898 on ububuntu 14.4+ x86_64 diskless provision , 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