Skip to content

Commit da5dd24

Browse files
Set PS1 env
1 parent 0167ab3 commit da5dd24

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

init-kubectl.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ mount -t tmpfs -o size=${SESSION_STORAGE_SIZE} tmpfs /nonexistent
1313
cd /nonexistent
1414
cp /root/.bashrc ./
1515
echo 'source /opt/kubectl-aliases/.kubectl_aliases' >> .bashrc
16+
echo 'PS1="> "' >> .bashrc
1617
mkdir -p .kube
1718

1819
export HOME=/nonexistent
@@ -45,6 +46,4 @@ chown -R nobody:nogroup .kube
4546

4647
export TMPDIR=/nonexistent
4748

48-
export PS1=">"
49-
5049
exec su -s /bin/bash nobody

0 commit comments

Comments
 (0)