mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
Merge pull request #2402 from cxhong/2396
Add default license file for configonie command
This commit is contained in:
commit
54ed6be1f4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user