From aa1b147f2563c7cea5edbfd7e35b63f7e4f3093e Mon Sep 17 00:00:00 2001 From: zet809 Date: Fri, 17 Aug 2018 16:11:16 +0800 Subject: [PATCH] Replace 5478 to fix issue 5476 (#5531) --- xCAT-server/lib/xcat/plugins/geninitrd.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/geninitrd.pm b/xCAT-server/lib/xcat/plugins/geninitrd.pm index 65059626d..14008dfe9 100644 --- a/xCAT-server/lib/xcat/plugins/geninitrd.pm +++ b/xCAT-server/lib/xcat/plugins/geninitrd.pm @@ -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;