1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-28 14:50:08 +03:00

Adds default to SRCIPTS_REMOTE_DIR if not set in oned.conf

This commit is contained in:
Ruben S. Montero 2010-10-29 23:26:52 +02:00
parent 3527cad6f2
commit 586ad87a8a

View File

@ -52,6 +52,7 @@ NebulaTemplate::NebulaTemplate(string& etc_location, string& var_location)
# PORT
# DB
# VNC_BASE_PORT
# SCRIPTS_REMOTE_DIR
#*******************************************************************************
*/
// MONITOR_INTERVAL
@ -94,6 +95,13 @@ NebulaTemplate::NebulaTemplate(string& etc_location, string& var_location)
attribute = new SingleAttribute("PORT",value);
conf_default.insert(make_pair(attribute->name(),attribute));
//SCRIPTS_REMOTE_DIR
value = "/var/tmp/one";
attribute = new SingleAttribute("SCRIPTS_REMOTE_DIR",value);
conf_default.insert(make_pair(attribute->name(),attribute));
/*
#*******************************************************************************
# Physical Networks configuration
@ -188,4 +196,3 @@ int NebulaTemplate::load_configuration()
return 0;
}