Update VirtualBox differencing image parent

1

I have created several VirtualBox VMs, each one writing to a differencing image on top of a shared "base" image, containing a clean Ubuntu install.

The disk images look like this:

Base Image
|-VM 1
| |-VM 3
|-VM 2

Each VM image is a differencing image.

Now, I want to add a program to the base image.

Is it possible to make a change to the base image that will propagate to all 3 VMs?

qwertyzzz18

Posted 2015-09-25T05:17:37.670

Reputation: 11

I don't think that's possible. – David Dai – 2015-09-25T05:37:37.027

That's not possible, a new Image will always create a new branch in the snapshot-tree. What I do, when i want to have an add-on for all the branches of the snapshot-tree or for new VMs, is to create a new .vdi, I can make changes in it and it has effect for every snapshot/VM, when i reattach it. – h0ch5tr4355 – 2015-09-25T06:27:09.313

@h0ch5tr4355 I'm not sure what you mean by creating a new vdi and reattaching it. Can you clarify what you mean? – qwertyzzz18 – 2015-09-25T07:37:40.717

You create in the Virtual Media Managerof VBox a new Hard Disc (=.vdi). You add the program onto this disc and you can attach this virtual hard drive to any VM you like. If this workaround is a compromiss for you, i can explain it more exactly – h0ch5tr4355 – 2015-09-25T07:41:11.717

No answers