I installed a VirtualBox and then installed a Ubuntu 12.10 Server Base OS in it. I have installed all kinds of php packages and other packages in it. My friends recommended me t
While not a complete answer, I think you can get what you need from the documentation, which is quite extensive. I believe that vagrant up
is merely a convenient means to setting up a Vagrant "box". There are a number of requirements for a box to be Vagrant compliant. They are described here...
Documentation: Vagrant - Base Boxes
The bare bones needed for a box are as follows...
Once a box is compliant with these requirements, it should simply be a matter of using the vagrant package
command to create a portable installation...
More documentation: Vagrant - Boxes
So, while I don't have a complete answer, having never done it this way, I think it's possible to get your installation into a state that will allow you to package and distribute it.