summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 38494a7..9fe13ad 100644
--- a/src/main.c
+++ b/src/main.c
@@ -25,8 +25,13 @@ static struct option og_server_opts[] = {
};
#define OG_SERVER_CFG_JSON "/opt/opengnsys/cfg/ogserver.json"
+#define OG_SERVER_REPO_PATH "/opt/opengnsys/images"
-struct og_server_cfg cfg;
+struct og_server_cfg cfg = {
+ .repo = {
+ .dir = OG_SERVER_REPO_PATH,
+ },
+};
int main(int argc, char *argv[])
{