If you look at this page:
https://reproducible-research.github.io/scipy-tutorial-2014/environment/vagrant/
.. you can see that both command vagrant ssh and vagrant halt render with a different size.
I tried both to use <pre><code> and also the four space indentation as documented here .. but couldn't get the rendering to match.