2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

Replace 5478 to fix issue 5476 (#5531)

This commit is contained in:
zet809 2018-08-17 16:11:16 +08:00 committed by yangsong
parent 0832cc405d
commit aa1b147f25

View File

@ -180,7 +180,7 @@ sub geninitrd {
my $initrdpath;
my $kernelpath;
my $tftpdir = "/tftpboot";
my @entries = xCAT::TableUtils->get_site_attribute("$tftpdir");
my @entries = xCAT::TableUtils->get_site_attribute("tftpdir");
my $t_entry = $entries[0];
if (defined($t_entry)) {
$tftpdir = $t_entry;