I have some aliases I'd like to load in my container when someone logs into them. I created a file called /etc/profile.d/aliases.sh, and this works as expected when I SSH into my container. However I have noticed that when I log into a container via the pct enter <VMID> command, this file is not sourced.
What is the difference between a prompt obtained by SSH into the box, and a prompt obtained by running pct enter <VMID> which would prevent these profiles from being sourced?
What is the difference between a prompt obtained by SSH into the box, and a prompt obtained by running pct enter <VMID> which would prevent these profiles from being sourced?