You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bash_profile
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,10 @@ test -e ~/vhdresize.txt && rm ~/vhdresize.txt
24
24
test -e ~/shutdown.cmd && rm ~/shutdown.cmd
25
25
figlet -t -k -f /usr/share/figlet/mini.flf "Welcome to LinuxmintWSL"| lolcat
26
26
echo -e "\033[33;7mDo not interrupt or close the terminal window till script finishes execution!!!\n\033[0m"
27
+
getent passwd ubuntu >/dev/null && (
28
+
userdel ubuntu
29
+
rm -rf /home/ubuntu
30
+
)
27
31
28
32
if [ "$disksize"-le 274877906944 ];then
29
33
echo -e ${grn}"LinuxmintWSL's VHD has a default maximum size of 256GB. Disk space errors which occur if size exceeds 256GB can be fixed by expanding the VHD. Would you like to resize your VHD? More information on this process is available at \033[36mhttps://docs.microsoft.com/en-us/windows/wsl/vhd-size\033[32m."${txtrst}| fold -sw $width
0 commit comments