mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix ssh issue
This commit is contained in:
parent
6a4a2e4a95
commit
909c5b4acf
1 changed files with 7 additions and 0 deletions
|
@ -169,6 +169,13 @@ if [ "$?" -ne 0 ]; then # Si l'utilisateur tarde trop, la connexion sera refusé
|
||||||
ssh $ARG_SSH $LXC_NAME "exit 0" # Initie une premier connexion SSH pour valider la clé.
|
ssh $ARG_SSH $LXC_NAME "exit 0" # Initie une premier connexion SSH pour valider la clé.
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Fix ssh common issues with stretch "No supported key exchange algorithms"
|
||||||
|
sudo lxc-attach -n $LXC_NAME -- dpkg-reconfigure openssh-server >> "$LOG_BUILD_LXC" 2>&1
|
||||||
|
|
||||||
|
# Fix locales issue
|
||||||
|
sudo lxc-attach -n $LXC_NAME -- locale-gen en_US.UTF-8 >> "$LOG_BUILD_LXC" 2>&1
|
||||||
|
sudo lxc-attach -n $LXC_NAME -- localedef -i en_US -f UTF-8 en_US.UTF-8 >> "$LOG_BUILD_LXC" 2>&1
|
||||||
|
|
||||||
if [ "$DISTRIB" == "stretch" ]; then
|
if [ "$DISTRIB" == "stretch" ]; then
|
||||||
branch="--branch stretch"
|
branch="--branch stretch"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue