diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-15 18:32:25 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-15 18:32:25 -0700 |
commit | ea1859541c29bc3cafcde5ad9be131c942522c5f (patch) | |
tree | cc6aaa37552466d78a957f63bb22f71e07dbc3dd /controller/README.md | |
parent | f7b1437154576ec42734de6c2b2ee4adfb1f4f6d (diff) | |
download | infinitytier-ea1859541c29bc3cafcde5ad9be131c942522c5f.tar.gz infinitytier-ea1859541c29bc3cafcde5ad9be131c942522c5f.zip |
More cleanup, and fix for the extremely unlikely case of identity collision.
Diffstat (limited to 'controller/README.md')
-rw-r--r-- | controller/README.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/controller/README.md b/controller/README.md index 6037424e..ee176d38 100644 --- a/controller/README.md +++ b/controller/README.md @@ -9,13 +9,11 @@ The standard implementation uses SQLite3 with the attached schema. A separate se By default this code is not built or included in the client. To build on Linux, BSD, or Mac add ZT_ENABLE_NETCONF_MASTER=1 to the make command line. It could be built on Windows as well, but you're on your own there. You'd have to build SQLite3 first, or get a pre-built copy somewhere. -### Running +### Createing databases -To enable netconf functionality, place a properly initialized SQLite3 database called **netconf.db** into the ZeroTier working directory of the node you wish to serve network configurations and restart it. If that file is present it will be opened and the network configuration master function will be enabled. You will see this in the log file. +If you execute a network controller enabled build of the ZeroTier One service, a *controller.db* will automatically be created and initialize. You can also create one manually with: -To initialize a database run: - - sqlite3 -init netconf-schema.sql netconf.db + sqlite3 -init schema.sql controller.db Then type '.quit' to exit the SQLite3 command shell. |