ubuntu 16 (xenial) Template
不能套用的設定
lxc.pts = 8
否則 sshd 的 pts 會有問題
Disable 一堆 Service
mask
systemctl mask dev-hugepages.mount systemctl mask systemd-journald.service systemctl mask systemd-journald-audit.socket systemctl mask systemd-journal-flush.service systemctl mask systemd-udevd.service systemctl mask systemd-remount-fs.service systemctl mask systemd-random-seed.service
disable
systemctl disable systemd-timesyncd.service systemctl disable [email protected] systemctl disable remote-fs.target systemctl disable ureadahead.service
rsyslogd
/etc/rsyslog.conf
#module(load="imklog") #$KLogPermitNonKernelFacility on
/etc/rsyslog.d/50-default.conf
#kern.* -/var/log/kern.log #daemon.*;mail.*;\ # news.err;\ # *.=debug;*.=info;\ # *.=notice;*.=warn |/dev/xconsole