update for minimal image
This commit is contained in:
parent
b3457ff578
commit
a61b819139
2 changed files with 4 additions and 13 deletions
|
|
@ -1,10 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
apt-get -y purge alsa-topology-conf alsa-ucm-conf apport \
|
apt-get -y purge alsa-topology-conf alsa-ucm-conf apport at \
|
||||||
apport-symptoms bolt byobu eatmydata command-not-found \
|
bolt eatmydata fonts-ubuntu-console gsettings-desktop-schemas \
|
||||||
eject fonts-ubuntu-console lxd-agent-loader \
|
htop os-prober pollinate snapd sosreport sound-theme-freedesktop
|
||||||
nano ntfs-3g pastebinit plymouth plymouth-theme-ubuntu-text \
|
|
||||||
popularity-contest python3-apport os-prober \
|
|
||||||
sound-theme-freedesktop
|
|
||||||
apt-get -y autoremove --purge
|
apt-get -y autoremove --purge
|
||||||
apt-get -y clean
|
apt-get -y clean
|
||||||
|
|
||||||
|
|
@ -14,12 +11,6 @@ cat <<EOF>/etc/systemd/system/motd-news.service.d/override.conf
|
||||||
ExecStart=/bin/true
|
ExecStart=/bin/true
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
mkdir /etc/systemd/timesyncd.conf.d
|
|
||||||
cat <<EOF>/etc/systemd/timesyncd.conf.d/ntp.conf
|
|
||||||
[Time]
|
|
||||||
NTP=pool.ntp.org
|
|
||||||
EOF
|
|
||||||
|
|
||||||
rm /home/ubuntu/.ssh/authorized_keys
|
rm /home/ubuntu/.ssh/authorized_keys
|
||||||
find /var/log -type f | while read f; do echo -ne >$f; done
|
find /var/log -type f | while read f; do echo -ne >$f; done
|
||||||
rm -rf /var/lib/cloud/* /var/tmp/* /tmp/* /tmp/.*-unix
|
rm -rf /var/lib/cloud/* /var/tmp/* /tmp/* /tmp/.*-unix
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
22719b169127b311f024c0a8d9f2c1f5c69115b4d0bc7c2224f5ee3cccb15e2f
|
9fbd939eb8d1ef6157a61bb984a5045339ce361596b8a99a8847280cc785b726
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue