Re-establishing reference from Vagrant to VirtualBox VM

Lucas Jellema 1
0 0
Read Time:49 Second

Stress in the middle to demo preparation: Vagrant refused to bring up my suspended VMs. The message is wrote:

D:\GitHub\biemond-orawls-vagrant-12.1.3-infra-soa>vagrant resume soa2admin2
==> soa2admin2: VM not created. Moving on…

After some Googling I discovered that the link between Vagrant and my VM consists of a the file called “id” in the subfolder

image

This file contains nothing but UUID used by VirtualBox to identify the VM.

Unfortunately, this file was missing (not sure why).

It is fairly easy to restore.

First, find out the required UUID, using the management tools for Virtual Box; in the home directory for Virtual Box, I sued this command to list all VMs and their UUID values:

VBoxManage list vms

SNAGHTML102d9cf

Now I can create the file

D:\GitHub\biemond-orawls-vagrant-12.1.3-infra-soa\.vagrant\machines\soa2admin2\virtualbox\id

SNAGHTML1047bd8

using the UUID learned from VBoxManage.

After restoring this file, I can start the VM as wanted and expected:

image

About Post Author

Lucas Jellema

Lucas Jellema, active in IT (and with Oracle) since 1994. Oracle ACE Director and Oracle Developer Champion. Solution architect and developer on diverse areas including SQL, JavaScript, Kubernetes & Docker, Machine Learning, Java, SOA and microservices, events in various shapes and forms and many other things. Author of the Oracle Press book Oracle SOA Suite 12c Handbook. Frequent presenter on user groups and community events and conferences such as JavaOne, Oracle Code, CodeOne, NLJUG JFall and Oracle OpenWorld.
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

One thought on “Re-establishing reference from Vagrant to VirtualBox VM

Comments are closed.

Next Post

Very first experience with oracle Cloud Service

Recently I found myself in the unique position of having access to the beta version of the Oracle Cloud to get a glimpse at the future as Oracle sees it. This blog describes my personal experience and does not necessarily reflect Oracle’s point of view.  That said, the cooperation with […]
%d bloggers like this: