Unverified Commit bbc612f1 authored by David Beniamine's avatar David Beniamine
Browse files

Switch to lametros repositories

parent 296c5fd6
......@@ -28,7 +28,7 @@ apt-eole install \
wakeonlan
if [ ! -e "eole-wol" ]
then
git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol
git clone https://gitecoles.grenoble.fr/grenoble/eole-wol
cd eole-wol
else
cd eole-wol
......
......@@ -26,7 +26,7 @@ apt-eole install \
xrdp
if [ ! -e "eole-wol" ]
then
git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol
git clone https://gitecoles.grenoble.fr/grenoble/eole-wol
else
cd eole-wol
git pull
......
#!/bin/bash
DIR=`dirname $0`
cd $DIR
new_repository_url="https://gitecoles.grenoble.fr/grenoble/eole-wol"
if [ ! -z "`git remote -v | awk '/tetras-libre/{print $2}'`" ]
then
git remote set-url origin $new_repository_url
fi
cd -
......@@ -28,6 +28,10 @@ runcmd(){
ssh -o StrictHostKeychecking=no root@$host $@
}
# Switch to lametros repository
DIR=`dirname $0`
$DIR/update_repository.sh
conf_dir="/etc/registry"
conf_file="$conf_dir/hosts"
broadcast=$(ip a | awk '/inet.*eth1/ {print $4}' | cut -d / -f 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment