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

Repleace the index file AFTER the corresponding files are downloaded #31

Closed
SadPencil opened this issue May 6, 2019 · 1 comment
Closed

Comments

@SadPencil
Copy link

https://github.com/tuna/tunasync-scripts/blob/master/lxc-images.sh

The following files should be moved to the correct place AFTER all the files at images folder are downloaded.

index-system index-system.asc index-user index-user.asc

See also: tuna/issues#558

@SadPencil
Copy link
Author

If for some reasons, the index file and the images can't keep consistent, consider this method:
tuna/issues#558 (comment)
i.e. write a program to check whether the files are consistent or not. Use hard links to implement a simple version control mechanism.

@z4yx z4yx closed this as completed Mar 2, 2020
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

No branches or pull requests

2 participants