diff --git a/dist/etc/apt/apt.conf.d/01proxy b/dist/etc/apt/apt.conf.d/01proxy new file mode 100644 index 0000000000000000000000000000000000000000..7fee326bfa0935890b0590e31dd210c91314c793 --- /dev/null +++ b/dist/etc/apt/apt.conf.d/01proxy @@ -0,0 +1 @@ +Acquire::http::Proxy "http://slis:3128"; diff --git a/postInstall.sh b/postInstall.sh index 5590935baa8d5dd7b9f99418ed422b19f8f32386..f9e312972ab19a2403823349781b92390d1232a2 100755 --- a/postInstall.sh +++ b/postInstall.sh @@ -1,7 +1,7 @@ #!/bin/bash while [ -z "$SRV_NAME" ] do - read -p "Please enter the name of the LDAP server (ex: DSIT or 0382693W)" SRV_NAME + read -p "Merci d'entrer le code RNE de l'école (ex: DSIT or 0382693W)" SRV_NAME done # Prepare LDAP config for f in dist/* @@ -12,3 +12,4 @@ for f in `find dist/ -type f` do sudo sed -i.orig "s/DSIT/$SRV_NAME/g" ${f/dist/} done +read -p "Configuration faite, appuyez sur n'importe quelle touche pour continuer"