mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
On systems where sudo is used "echo ~" might return the homedirectory from the user who executed the sudo command. By specifically using "echo ~username" we make sure we get back the correct homedirectory. The same story goes for when updating the key on disk.