소스 검색

Update update-lxcs.sh

tteckster 2 년 전
부모
커밋
a7f797ede2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      misc/update-lxcs.sh

+ 1 - 1
misc/update-lxcs.sh

@@ -39,7 +39,7 @@ function update_container() {
   pct config $container > temp
   os=`awk '/^ostype/' temp | cut -d' ' -f2`
   if [ "$os" == "alpine" ]; then
-        pct exec $container -- ash -c "apk update && apk upgrade -y"
+        pct exec $container -- ash -c "apk update && apk upgrade"
   elif [ "$os" == "ubuntu" ] || [ "$os" == "debian" ] || [ "$os" == "devuan" ]; then
         pct exec $container -- bash -c "apt-get update && apt-get upgrade -y && apt-get clean && apt-get --purge autoremove -y"
   elif [ "$os" == "fedora" ]; then