rename scripts/opencloud to tools/xos-manage
diff --git a/xos/configurations/common/Dockerfile.common b/xos/configurations/common/Dockerfile.common
index ac8931f..80ff888 100644
--- a/xos/configurations/common/Dockerfile.common
+++ b/xos/configurations/common/Dockerfile.common
@@ -103,8 +103,8 @@
# Initscript is broken in Ubuntu
#ADD observer-initscript /etc/init.d/xosobserver
-RUN chmod +x /opt/xos/scripts/opencloud
-RUN /opt/xos/scripts/opencloud genkeys
+RUN chmod +x /opt/xos/tools/xos-manage
+RUN /opt/xos/tools/xos-manage genkeys
# Workaround for AUFS issue
# https://github.com/docker/docker/issues/783#issuecomment-56013588
@@ -118,7 +118,7 @@
# RUN sed -i 's/DEBUG = False/DEBUG = True/' /opt/xos/xos/settings.py
# Cruft to workaround problems with migrations, should go away...
-RUN /opt/xos/scripts/opencloud remigrate
+RUN /opt/xos/tools/xos-manage remigrate
# git clone uses cached copy, doesn't pick up latest
RUN git -C /opt/ansible pull
diff --git a/xos/manage.py b/xos/manage.py
index acabb0d..25d88b6 100644
--- a/xos/manage.py
+++ b/xos/manage.py
@@ -8,7 +8,7 @@
from django.core.management import execute_from_command_line
if "--makemigrations" in sys.argv:
- os.system("/opt/xos/scripts/opencloud makemigrations")
+ os.system("/opt/xos/tools/xos-manage makemigrations")
sys.argv.remove("--makemigrations")
if "--nomodelpolicy" in sys.argv:
diff --git a/xos/scripts/opencloud b/xos/tools/xos-manage
similarity index 100%
rename from xos/scripts/opencloud
rename to xos/tools/xos-manage