Merge "Prepare for LVM based VCP"
diff --git a/horizon/server/cluster.yml b/horizon/server/cluster.yml
index db0c7e5..06a720c 100644
--- a/horizon/server/cluster.yml
+++ b/horizon/server/cluster.yml
@@ -18,6 +18,12 @@
       session:
         engine: "cache"
       images_upload_mode: ${_param:horizon_images_upload_mode}
+      django_settings:
+        # File larger than  FILE_UPLOAD_MAX_MEMORY_SIZE (by default 2.5Mb)
+        # will be stored in directory specified by this option.
+        FILE_UPLOAD_TEMP_DIR:
+          enabled: true
+          value: "'/var/tmp/'"
   apache:
     server:
       modules:
diff --git a/horizon/server/single.yml b/horizon/server/single.yml
index 0ed0674..04bb18b 100644
--- a/horizon/server/single.yml
+++ b/horizon/server/single.yml
@@ -16,6 +16,12 @@
       session:
         engine: "cache"
       images_upload_mode: ${_param:horizon_images_upload_mode}
+      django_settings:
+        # File larger than  FILE_UPLOAD_MAX_MEMORY_SIZE (by default 2.5Mb)
+        # will be stored in directory specified by this option.
+        FILE_UPLOAD_TEMP_DIR:
+          enabled: true
+          value: "'/var/tmp/'"
   apache:
     server:
       modules: