8 lines
301 B
Bash
8 lines
301 B
Bash
#!/bin/bash
|
|
echo "=== MIRROIR NETBOX SEULEMENT ==="
|
|
mkdir -p src/netbox
|
|
cd src/netbox
|
|
git clone --mirror https://github.com/netbox-community/netbox.git .
|
|
git remote set-url --push origin ssh://git@eregion.chezlepro.ca:3000/tonuser/alliance-boreale.git
|
|
git push --mirror
|
|
echo "NetBox mirroir créé !"
|