2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-23 12:51:10 +00:00

Merge pull request #2402 from cxhong/2396

Add default license file for configonie command
This commit is contained in:
yangsong
2017-01-15 20:11:19 -06:00
committed by GitHub

View File

@@ -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 does not exist\n";
return;
}