mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 20:11:17 +00:00
Update pihole_setup.sh
This commit is contained in:
parent
55f1adf51d
commit
87056049b5
@ -29,7 +29,7 @@ apt-get -y purge openssh-{client,server} >/dev/null
|
|||||||
apt-get autoremove >/dev/null
|
apt-get autoremove >/dev/null
|
||||||
|
|
||||||
msg "Updating LXC OS..."
|
msg "Updating LXC OS..."
|
||||||
apt-get update >/dev/null
|
apt-get dist-upgrade >/dev/null
|
||||||
apt-get -qqy upgrade &>/dev/null
|
apt-get -qqy upgrade &>/dev/null
|
||||||
|
|
||||||
msg "Installing Prerequisites..."
|
msg "Installing Prerequisites..."
|
||||||
@ -42,7 +42,7 @@ curl -sSL https://install.pi-hole.net | bash
|
|||||||
|
|
||||||
msg "Customizing LXC..."
|
msg "Customizing LXC..."
|
||||||
rm /etc/motd
|
rm /etc/motd
|
||||||
rm /etc/update-motd.d/11-uname
|
rm /etc/update-motd.d/10-uname
|
||||||
touch ~/.hushlogin
|
touch ~/.hushlogin
|
||||||
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
|
||||||
mkdir -p $(dirname $GETTY_OVERRIDE)
|
mkdir -p $(dirname $GETTY_OVERRIDE)
|
||||||
|
Loading…
Reference in New Issue
Block a user