From c53d0f43b3e206f322cb34371d3129a024a88cae Mon Sep 17 00:00:00 2001
From: Ayush <ayush.tiwari@nexedi.com>
Date: Mon, 8 Jan 2018 11:52:27 +0100
Subject: [PATCH] software/erp5: Remove create-erp5-site software-type from
 json schema

Also update README accordingly.
Its becasue now erp5-site is being created automatically using software-type
default and there is no create-erp5-site software-type anymore.
---
 software/erp5/README.rst        | 8 ++------
 software/erp5/software.cfg.json | 7 -------
 2 files changed, 2 insertions(+), 13 deletions(-)

diff --git a/software/erp5/README.rst b/software/erp5/README.rst
index 59b954047..fcf6b5ff6 100644
--- a/software/erp5/README.rst
+++ b/software/erp5/README.rst
@@ -3,12 +3,8 @@ Available ``software-type`` values
 
 - ``default``
 
-  Recommended for production use.
-
-- ``create-erp5-site``
-
-  Automated creation of ERP5Site instance, for easy deployment.
-  Usage in production discouraged due to the increased risk of data loss.
+  Recommended for developemnt and production use. Automatic creation of
+  erp5-site.
 
 Notes
 =====
diff --git a/software/erp5/software.cfg.json b/software/erp5/software.cfg.json
index 6b553e42d..17bb0bdb5 100644
--- a/software/erp5/software.cfg.json
+++ b/software/erp5/software.cfg.json
@@ -9,13 +9,6 @@
       "request": "instance-erp5-input-schema.json",
       "response": "instance-erp5-output-schema.json",
       "index": 0
-    },
-    "create-erp5-site": {
-      "title": "Create ERP5 Site", 
-      "description": "Automated ERP5Site creation on instanciation when ZODB is found empty.",
-      "request": "instance-erp5-input-schema.json",
-      "response": "instance-erp5-output-schema.json",
-      "index": 1
     }
   }
 }
-- 
2.30.9