--- /dev/null
+#!/bin/sh
+
+
+INTERNAL_DEVICE=internal
+CONNECTION_LINE=$(nmcli --terse connection show | grep "${INTERNAL_DEVICE}$")
+CONNECTION_UUID=$(echo $CONNECTION_LINE | cut -f 2 -d ':')
+
+nmcli connection delete uuid "$CONNECTION_UUID"
+
+nmcli connection add \
+ connection.autoconnect yes \
+ connection.id internal \
+ connection.interface-name $INTERNAL_DEVICE \
+ connection.type 802-3-ethernet \
+ ipv4.addresses "10.228.109.52/16" \
+ ipv4.dns "10.228.109.104, 10.228.109.253" \
+ ipv4.dns-search "usr.user.hu" \
+ ipv4.gateway "10.228.109.254" \
+ ipv4.method "manual" \
+ ipv6.method "ignore" \
+ save yes
+
+nmcli connection show
+
+for LXC_DEVICE in efgd efgs ifg svc ldap vpn pns ins
+do
+ CONNECTION_LINE=$(nmcli --terse connection show | grep "${LXC_DEVICE}$")
+ if [ -n "$CONNECTION_LINE" ]
+ then
+ CONNECTION_UUID=$(echo $CONNECTION_LINE | cut -f 2 -d ':')
+ nmcli connection delete uuid "$CONNECTION_UUID"
+ fi
+done
+
+nmcli connection show
--- /dev/null
+#fs.inotify.max_queued_events = 16384
+# This is the default.
+
+fs.inotify.max_user_instances = 1024
+# The default is 128.
+
+#fs.inotify.max_user_watches = 8192
+# This is the default.