mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-10 01:17:40 +03:00
Bug creating config file in system wide installation
In system wide installation oned was creating "config" file in log directory (/var/log/one) but should be created in var directory (/var/lib/one)
This commit is contained in:
parent
d487e496ec
commit
9c4b96829e
@ -64,7 +64,7 @@ void Nebula::start()
|
||||
throw runtime_error("Could not load nebula configuration file.");
|
||||
}
|
||||
|
||||
string config_fname = log_location + "config";
|
||||
string config_fname = var_location + "config";
|
||||
ofstream config_file(config_fname.c_str(), ios_base::trunc & ios_base::out);
|
||||
|
||||
if (config_file.fail() == false)
|
||||
|
Loading…
Reference in New Issue
Block a user