mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update mariadb_setup.sh
This commit is contained in:
parent
454910c749
commit
a9ca062d37
@ -32,7 +32,7 @@ apt-get autoremove >/dev/null
|
|||||||
|
|
||||||
# Update container OS
|
# Update container OS
|
||||||
msg "Updating container OS..."
|
msg "Updating container OS..."
|
||||||
apt-get update >/dev/null
|
apt-get --allow-releaseinfo-change update >/dev/null
|
||||||
apt-get -qqy upgrade &>/dev/null
|
apt-get -qqy upgrade &>/dev/null
|
||||||
|
|
||||||
# Install prerequisites
|
# Install prerequisites
|
||||||
@ -43,7 +43,7 @@ apt-get -qqy install \
|
|||||||
|
|
||||||
# Installing MariaDB
|
# Installing MariaDB
|
||||||
msg "Installing MariaDB..."
|
msg "Installing MariaDB..."
|
||||||
sudo apt-get update >/dev/null
|
sudo apt-get --allow-releaseinfo-change update >/dev/null
|
||||||
sudo apt-get install -y mariadb-server &>/dev/null
|
sudo apt-get install -y mariadb-server &>/dev/null
|
||||||
|
|
||||||
# Customize container
|
# Customize container
|
||||||
@ -63,4 +63,4 @@ systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
|||||||
|
|
||||||
# Cleanup container
|
# Cleanup container
|
||||||
msg "Cleanup..."
|
msg "Cleanup..."
|
||||||
rm -rf /mariadb_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
rm -rf /mariadb_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||||
|
Loading…
Reference in New Issue
Block a user