6 lines
No EOL
463 B
Bash
6 lines
No EOL
463 B
Bash
#!/bin/bash
|
|
version="40"
|
|
path="$version/Fedora/os"
|
|
url="https://ftp.halifax.rwth-aachen.de/fedora/linux/releases/$version/Everything/x86_64/os/"
|
|
container_name="fedora_main_$version"
|
|
ssh ansibleuser@repo.neuro.uni-bremen.de "sudo docker run -v /web:/web --name container_$container_name --rm fedora_repo /bin/bash -c 'dnf reposync --remote-time --newest-only --delete --download-metadata --norepopath -p /web/repos/Fedora/$path --repofrompath=x,$url --repoid=x'" |