Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support vyos #110

Closed
wants to merge 1 commit into from
Closed

Add support vyos #110

wants to merge 1 commit into from

Conversation

jack9603301
Copy link

No description provided.

@ZenithalHourlyRate
Copy link
Contributor

经过调查,发现 vyos 对相关链接的处理比较奇妙,其前端列出目录使用的是参数,例如 http://dev.packages.vyos.net/?dir=repositories/current/dists/current/main/binary-amd64,但实际文件使用的是路径,例如 http://dev.packages.vyos.net/repositories/current/dists/current/main/binary-amd64/Packages,故而相关脚本可以直接使用,而不用照搬 apt-sync.py,如下图所示。

Screenshot2021-01-02-02:23:38

故如果需要增加该镜像,可以参照 termux.shllvm-apt.sh 等使用了 apt-sync.py 的脚本,写一个包装脚本。

对于iso的同步,可以参考例如 proxmox.sh 中的 sync_files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants