2
1
I'm running my vagrant provisioning with a bootstrap.sh script. The script runs fine except for one line:
echo "source /root/.venvburrito/startup.sh" >> ~/.profile
This line fails. I don't get any output about it, but when I do vagrant ssh
and check the ~/.profile
file I can see that source /root/.venvburrito/startup.sh
is not appended to the file.
How can I append source /root/.venvburrito/startup.sh
to the file so that command is sourced every time I do vagrant ssh
?
This does not work for me. Even when running as the SSH user, I cannot append to files using
echo
. The version ofecho
used by SSH differs from the version available on the guest OS (where it is possible to execute the command if I copy and paste it there). – 8bitjunkie – 2015-11-13T20:13:08.570