Commit 906e813b authored by Jon Pugh's avatar Jon Pugh

Set default console config values dynamically from user and home dir.

parent 033a0cb5
......@@ -106,13 +106,13 @@ class Config implements ConfigurationInterface
$root_node
->children()
->scalarNode('aegir_root')
->defaultValue('/var/aegir')
->defaultValue(Config::getHomeDir())
->end()
->scalarNode('script_user')
->defaultValue('aegir')
->defaultValue(Config::getScriptUser())
->end()
->scalarNode('config_path')
->defaultValue('/var/aegir/config')
->defaultValue(Config::getHomeDir() . '/config')
->end()
->end();;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment