File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ if [[ -z "${INITIAL_VNC_PASSWORD}" ]]; then
1111fi
1212
1313if [ ! -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
1917fi
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ apt-get install -y xfce4 dbus-x11
2222# clean up after ourselves
2323apt-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
2628tar -czvf /output/rootfs.tar.gz --exclude sys --exclude dev --exclude proc --exclude mnt --exclude etc/mtab --exclude output --exclude input --exclude .dockerenv /
2729
You can’t perform that action at this time.
0 commit comments