summaryrefslogtreecommitdiff
path: root/data/live-build-config/includes.chroot
diff options
context:
space:
mode:
authorkroy <kroy@kroy.io>2020-07-05 15:45:13 -0500
committerkroy <kroy@kroy.io>2020-07-05 15:45:13 -0500
commit2e4f60d495d46ec6d8d54fe3cab7f1dbf03f31e4 (patch)
tree8ed1f01d785d925cbf320786e3855eaa30214e77 /data/live-build-config/includes.chroot
parentb10bcb499fbe27725dd85bdb2e2c0beb4fe3b80f (diff)
downloadvyos-build-2e4f60d495d46ec6d8d54fe3cab7f1dbf03f31e4.tar.gz
vyos-build-2e4f60d495d46ec6d8d54fe3cab7f1dbf03f31e4.zip
T2678: Fixing massive memory usage with ssh and large number of routes
Diffstat (limited to 'data/live-build-config/includes.chroot')
-rw-r--r--data/live-build-config/includes.chroot/etc/nsswitch.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/live-build-config/includes.chroot/etc/nsswitch.conf b/data/live-build-config/includes.chroot/etc/nsswitch.conf
new file mode 100644
index 00000000..4119a672
--- /dev/null
+++ b/data/live-build-config/includes.chroot/etc/nsswitch.conf
@@ -0,0 +1,21 @@
+# /etc/nsswitch.conf
+#
+# Example configuration of GNU Name Service Switch functionality.
+# If you have the `glibc-doc-reference' and `info' packages installed, try:
+# `info libc "Name Service Switch"' for information about this file.
+
+passwd: files
+group: files
+shadow: files
+gshadow: files
+
+# Per T2678, commenting out myhostname
+hosts: files dns #myhostname
+networks: files
+
+protocols: db files
+services: db files
+ethers: db files
+rpc: db files
+
+netgroup: nis