* Default configuration file of "Node" commands (slapos node, slapos supervisor) is:
* Default configuration file of "Node" commands if not explicitly defined (slapos node, slapos supervisor) is:
/etc/opt/slapos/slapos.cfg
/etc/opt/slapos/slapos.cfg
* Default configuration file of "Client" commands (slapos request, slapos supply, ...) is:
* Default configuration file of "Client" commands if not explicitly defined (slapos request, slapos supply, ...) is:
~/.slapos/slapos.cfg
~/.slapos/slapos.cfg
* Default log file for Node commands is /var/log/[slapos-node-software.log | slapos-node-instance.log | slapos-node-report.log]. This one requires working log in slapgrid, currently log/console is a total mess.
* Default log file for Node commands is /var/log/[slapos-node-software.log | slapos-node-instance.log | slapos-node-report.log]. This one requires working log in slapgrid, currently log/console is a total mess.
...
@@ -97,6 +97,7 @@ SlapOS Node commands
...
@@ -97,6 +97,7 @@ SlapOS Node commands
--------------------
--------------------
This kind of commands are used to control the current SlapOS Node. Those commands are only useful for administrators of Nodes.
This kind of commands are used to control the current SlapOS Node. Those commands are only useful for administrators of Nodes.
# XXX: add an environment variable for configuration file.
slapos node
slapos node
~~~~~~~~~~~
~~~~~~~~~~~
...
@@ -162,23 +163,81 @@ XXX-Cedric : To be implemented
...
@@ -162,23 +163,81 @@ XXX-Cedric : To be implemented