From aaffcc2f4dcaa7f501accfe92ee02922997335f1 Mon Sep 17 00:00:00 2001 From: Casandra Qiu Date: Wed, 11 Jan 2017 16:11:10 -0500 Subject: [PATCH] Add default license file for configonie command --- xCAT-server/share/xcat/scripts/configonie | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/scripts/configonie b/xCAT-server/share/xcat/scripts/configonie index 3aa2ed2ac..c49afed19 100755 --- a/xCAT-server/share/xcat/scripts/configonie +++ b/xCAT-server/share/xcat/scripts/configonie @@ -217,7 +217,7 @@ sub cumulus_exec { sub install_license { my @config_switches; print "install_license\n"; - my $license_file; + my $license_file = "/root/license.txt"; my $file_name = "/root/license.txt"; if ($::LICENSE) { @@ -226,7 +226,7 @@ sub install_license { print "file = $license_file\n"; if (!(-e $license_file) ) { - print "$license_file is not exist\n"; + print "license file $license_file is not exist\n"; return; }