2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-12 17:30:19 +00:00

fix issue [DEV] Install xcat on ubuntu14.4.4+ppc64le by go-xcat show "Restarting xcatd ERROR:". That is why Diskless_installation_flat_p8_le always fail and stay on powering_on``

This commit is contained in:
immarvin
2017-03-20 13:32:30 +08:00
parent 725a44ad83
commit 23d3a046cc

View File

@ -1279,7 +1279,7 @@ sub setup_HTTP
#-----------------------------------------------------------------------------
sub stop_TFTP
{
my $distro;
my $distro=xCAT::Utils->osver();
# Check whether the tftp-hpa has been installed, the ubuntu tftpd-hpa configure file is under /etc/default
unless (-x "/usr/sbin/in.tftpd" and (-e "/etc/xinetd.d/tftp" or -e "/etc/default/tftpd-hpa")) {
xCAT::MsgUtils->message("S", "ERROR: The tftpd was not installed, enable the tftp failed.");