From 062f6dfb79352c3c78bb7c02511f2ff60104e4a4 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Thu, 24 Aug 2017 12:23:51 +0200 Subject: [PATCH] Append to .profile instead of .bash_profile --- scripts/create_container | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create_container b/scripts/create_container index a823244..1beefe9 100755 --- a/scripts/create_container +++ b/scripts/create_container @@ -18,7 +18,7 @@ add_ssh() { sed -i 's/^#Port .*/Port '"$PORT"'/' $CONTAINER_PATH/etc/ssh/sshd_config sed -i 's/^#PermitRootLogin .*/PermitRootLogin yes/' $CONTAINER_PATH/etc/ssh/sshd_config - touch $CONTAINER_PATH/root/.bash_profile + touch $CONTAINER_PATH/root/.profile cat <<- 'EOF' > $CONTAINER_PATH/root/.bash_profile # Start ssh-agent and add keys in ~/.ssh directory # Should only be used without a desktop manager