镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 22:46:47 +00:00
update scripts
这个提交包含在:
13
scripts/lxc-images.sh
可执行文件
13
scripts/lxc-images.sh
可执行文件
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
function sync_lxc_images() {
|
||||
repo_url="$1"
|
||||
repo_dir="$2"
|
||||
cd $repo_dir
|
||||
|
||||
# lftp "${repo_url}/" -e "mirror --verbose --log=${TUNASYNC_LOG_FILE} --exclude-glob='*/SRPMS/*' -P 5 --delete --only-newer; bye"
|
||||
lftp "${repo_url}/" -e "mirror --verbose --exclude lxd/ -P 5 --delete --only-newer; bye"
|
||||
}
|
||||
|
||||
|
||||
sync_lxc_images "http://images.linuxcontainers.org/" "${TUNASYNC_WORKING_DIR}/"
|
||||
在新工单中引用
屏蔽一个用户