mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-23 00:33:20 +01:00
Update update-lxcs.sh
change to dist-upgrade
This commit is contained in:
parent
1fd36bc6c3
commit
907a29b7a3
@ -40,7 +40,7 @@ function update_container() {
|
|||||||
alpine) pct exec "$container" -- ash -c "apk update && apk upgrade" ;;
|
alpine) pct exec "$container" -- ash -c "apk update && apk upgrade" ;;
|
||||||
archlinux) pct exec "$container" -- bash -c "pacman -Syyu --noconfirm";;
|
archlinux) pct exec "$container" -- bash -c "pacman -Syyu --noconfirm";;
|
||||||
fedora|rocky|centos|alma) pct exec "$container" -- bash -c "dnf -y update && dnf -y upgrade" ;;
|
fedora|rocky|centos|alma) pct exec "$container" -- bash -c "dnf -y update && dnf -y upgrade" ;;
|
||||||
ubuntu|debian|devuan) pct exec "$container" -- bash -c "apt-get update && apt-get -y upgrade" ;;
|
ubuntu|debian|devuan) pct exec "$container" -- bash -c "apt-get update && apt-get -y dist-upgrade" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
header_info
|
header_info
|
||||||
|
Loading…
Reference in New Issue
Block a user