Open poquirion opened 7 months ago
When MC is deployed on already existing home folder, it will wipe existing ~/{.bash_logout,.bash_profile,.bashrc} files.
~/{.bash_logout,.bash_profile,.bashrc}
https://github.com/ComputeCanada/puppet-magic_castle/blob/main/site/profile/files/accounts/account_functions.sh#L43
Option --ignore-existing should replace option -u in rsync to prevent that occurrence.
--ignore-existing
-u
When MC is deployed on already existing home folder, it will wipe existing
~/{.bash_logout,.bash_profile,.bashrc}
files.https://github.com/ComputeCanada/puppet-magic_castle/blob/main/site/profile/files/accounts/account_functions.sh#L43
Option
--ignore-existing
should replace option-u
in rsync to prevent that occurrence.