[vbox-dev] VBoxManage guestproperty enumerate <vmname> - flush cache?

Michael Thayer michael.thayer at oracle.com
Mon Dec 5 07:37:03 GMT 2011


Hello Andrea,

On 12/04/2011 10:27 PM, Andrea Turli wrote:
> I'm trying to use this command
> VBoxManage guestproperty  enumerate <vmname>
> to retrieve the IP address of a machine.
> Even if the VM is shutdown I retreve the properties of the vm.
> Is there a way to flush the cache of this command?
I think this question belonged on 
<vbox-users-community at lists.sourceforge.net> or the forums, not the 
developer list (follow-up there please!)  In any case, Guest Properties 
are not deleted when a virtual machine shuts down unless they are 
explicitly marked as "transient", which a quick look at the code 
suggests is not the case for the IP address (presumably so that people 
can query the last IP address an adapter in a machine was using before 
it was shut down).  So there is no cache to delete and this is intended 
behaviour (so that you don't have to worry about whether a machine is 
running or not to set or query its properties, and can "leave messages" 
for a machine which is currently shut down).

Regards,

Michael
-- 
ORACLE Deutschland B.V. & Co. KG   Michael Thayer
Werkstrasse 24                     VirtualBox engineering
71384 Weinstadt, Germany           mailto:michael.thayer at oracle.com

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven




More information about the vbox-dev mailing list