From ac619a9665c92067f628985da5bcc623a08f3c83 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Fri, 7 Jul 2017 21:32:56 +0200 Subject: [PATCH] [fix] Upgrade --- sub_scripts/lxc_build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sub_scripts/lxc_build.sh b/sub_scripts/lxc_build.sh index afa9409..e88b345 100755 --- a/sub_scripts/lxc_build.sh +++ b/sub_scripts/lxc_build.sh @@ -122,9 +122,10 @@ sudo lxc-ls -f >> "$LOG_BUILD_LXC" 2>&1 echo -e "\e[1m> Update et install aptitude sudo git\e[0m" | tee -a "$LOG_BUILD_LXC" sudo lxc-attach -n $LXC_NAME -- apt-get update -sudo lxc-attach -n $LXC_NAME -- apt-get install -y aptitude sudo git ssh openssh-server +sudo lxc-attach -n $LXC_NAME -- apt-get install -y aptitude sudo git ssh openssh-server echo -e "\e[1m> Installation des paquets standard et ssh-server\e[0m" | tee -a "$LOG_BUILD_LXC" sudo lxc-attach -n $LXC_NAME -- aptitude install -y ~pstandard ~prequired ~pimportant +sudo lxc-attach -n $LXC_NAME -- cp /bin/false /usr/bin/archivemount echo -e "\e[1m> Renseigne /etc/hosts sur l'invité\e[0m" | tee -a "$LOG_BUILD_LXC" echo "127.0.0.1 $LXC_NAME" | sudo tee -a /var/lib/lxc/$LXC_NAME/rootfs/etc/hosts >> "$LOG_BUILD_LXC" 2>&1