Przeglądaj źródła

Update update-lxcs.sh

tteckster 3 lat temu
rodzic
commit
c739d3f564
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      misc/update-lxcs.sh

+ 0 - 1
misc/update-lxcs.sh

@@ -33,7 +33,6 @@ containers=$(pct list | tail -n +2 | cut -f1 -d' ')
 function update_container() {
 function update_container() {
   container=$1
   container=$1
   echo -e "${BL}[Info]${GN} Updating${BL} $container ${CL} \n"
   echo -e "${BL}[Info]${GN} Updating${BL} $container ${CL} \n"
-  # to chain commands within one exec we will need to wrap them in bash
   pct exec $container -- bash -c "apt update && apt upgrade -y && apt autoremove -y"
   pct exec $container -- bash -c "apt update && apt upgrade -y && apt autoremove -y"
 }
 }