mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 11:56:20 +00:00
Update update-lxcs.sh
tweak
This commit is contained in:
parent
2ca3e77bea
commit
485444b07d
@ -49,7 +49,7 @@ function update_container() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
header_info
|
header_info
|
||||||
for container in $(pct list | tail -n +2 | cut -f1 -d' '); do
|
for container in $(pct list | awk '{if(NR>1) print $1}'); do
|
||||||
excluded=false
|
excluded=false
|
||||||
for excluded_container in "${excluded_containers[@]}"; do
|
for excluded_container in "${excluded_containers[@]}"; do
|
||||||
if [ "$container" == "$excluded_container" ]; then
|
if [ "$container" == "$excluded_container" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user