Increase fs.inotify.max_user_instances

Change-Id: I9fe4d108ee8975d511edb3d1f61f3702871992e9
Related-Prod: PRODX-42385
diff --git a/de/heat-templates/scripts/functions.sh b/de/heat-templates/scripts/functions.sh
index ae06d97..609a6be 100644
--- a/de/heat-templates/scripts/functions.sh
+++ b/de/heat-templates/scripts/functions.sh
@@ -576,6 +576,13 @@
     sysctl -p /etc/sysctl.d/99-disable-rp-filter.conf
 }
 
+function configure_sysctl_limits {
+    cat << EOF > /etc/sysctl.d/99-limits.conf
+fs.inotify.max_user_instances = 8192
+EOF
+    sysctl -p /etc/sysctl.d/99-limits.conf
+}
+
 function configure_contrack {
     cat << EOF > /etc/sysctl.d/100-contrackd.conf
 net.netfilter.nf_conntrack_log_invalid=255