-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect to existing instance #51
Comments
Theres currently no automated way to do this, I have to double check but off the top of my head I think you would have to manually create the Vagrant state files which IIRC should contain the server ID in it and then also create a Vagrant file matching the settings of what the server currently is in order to be able to do this. I wont be able to take a further look at this probably until end of the week or weekend to provide further details, but check the following:
|
@ju2wheels, is it possible to connect a new vagrant instance with the clone of an SL image that was created by vagrant? That is, I vagrant up a default SL image, modify the instance to be easily managed by vagrant (e.g. add the vagrant user, the ssh key, install chocolatey, etc), have the SL portal clone the modified image, run a new vagrant session, and rather than point to a default box point to an SL image that is the clone image instead? Does that work? |
@lonniev, I havent created clones or tested this out but this is along the lines of what we discussed in one of the other threads, but yes it should be possible with the caveat that the new machine will have the same disk specs as the old one. What you want to do to build the clone machine is use the disk GUID of the image as opposed to building from the template that specifies OS/disk type. Using the
Your clone machine should show up there as an image, then use the GUID listed in your config for the |
I already have VPS instance with SoftLayer. Is it possible to use that isntance with Vagrant ?
If I issue vagrant up it provisions new instance but I would like to connect existing instance ?
==> default: The SoftLayer instance is not running. Please run
vagrant up
first.The text was updated successfully, but these errors were encountered: