From a54769e13f46ec536f7e9f79a5d85a213cd16884 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Sun, 25 Feb 2024 11:39:25 +0800 Subject: [PATCH] Update build_images.sh --- build_images.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build_images.sh b/build_images.sh index 351f999..54aa054 100644 --- a/build_images.sh +++ b/build_images.sh @@ -1,6 +1,10 @@ #!/bin/bash # 从 https://github.com/oneclickvirt/lxc_arm_images 获取 +run_funct="${1:-debian}" +is_build_image="${2:-false}" +build_arch="${3:-arm64}" +zip_name_list=() opath=$(pwd) rm -rf *.tar.xz ls @@ -67,10 +71,6 @@ if command -v apt-get >/dev/null 2>&1; then sudo apt-get install debootstrap -y fi fi -run_funct="${1:-debian}" -is_build_image="${2:-false}" -build_arch="${3:-arm64}" -zip_name_list=() # 构建或列出不同发行版的镜像 build_or_list_images() {