Fix LXC_CONNECT_INFO

This commit is contained in:
Maniack Crudelis 2017-06-18 18:23:22 +02:00 committed by GitHub
parent 386634d751
commit 4007177ea5

View file

@ -300,7 +300,7 @@ LXC_CONNECT_INFO () {
echo -e "\e[1msudo lxc-attach -n $lxc_name -- command\e[0m" echo -e "\e[1msudo lxc-attach -n $lxc_name -- command\e[0m"
echo "To establish a ssh connection:" echo "To establish a ssh connection:"
if [ $(cat "$script_dir/setup_user") = "root" ]; then if [ $(cat "$script_dir/sub_scripts/setup_user") = "root" ]; then
echo -ne "\e[1msudo " echo -ne "\e[1msudo "
fi fi
echo -e "\e[1mssh $arg_ssh $lxc_name\e[0m" echo -e "\e[1mssh $arg_ssh $lxc_name\e[0m"