Skip to content

Commit fa37481

Browse files
committed
don't force color prompt
1 parent 7b841b4 commit fa37481

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/all/addNonRootUser.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ if [[ -z "${INITIAL_VNC_PASSWORD}" ]]; then
1111
fi
1212

1313
if [ ! -d "/home/$INITIAL_USERNAME" ]; then
14-
sed -i 's/force_color_prompt=/#force_color_prompt=/g' /etc/skel/.bashrc
1514
useradd $INITIAL_USERNAME -s /bin/bash -m -u 2000
1615
echo $INITIAL_USERNAME:$INITIAL_PASSWORD | chpasswd
1716
chsh -s /bin/bash $INITIAL_USERNAME
18-
touch /home/$INITIAL_USERNAME/.hushlogin
1917
fi

input/main.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ apt-get install -y xfce4 dbus-x11
2222
#clean up after ourselves
2323
apt-get clean
2424

25+
sed -i 's/force_color_prompt=/#force_color_prompt=/g' /etc/skel/.bashrc
26+
2527
#tar up what we have before we grow it
2628
tar -czvf /output/rootfs.tar.gz --exclude sys --exclude dev --exclude proc --exclude mnt --exclude etc/mtab --exclude output --exclude input --exclude .dockerenv /
2729

0 commit comments

Comments
 (0)