Re: VBox: how can a guest check the underlying version of VBox?

2018-06-11 Thread Ronald Klop
On Mon, 11 Jun 2018 13:14:58 +0200, O. Hartmann   
wrote:



Hello list,

I' apologize for bothering this list with this "non-CURRENT" question,  
but I

hope I can find here a quick answer.

From within a running guest I need to check what Vbox version is running  
the
guest to provide a deployment system with the necessary informations  
about the

Guest Tools to be installed. The primary "Guests" are Windows 7 on top of
FreeBSD as the host and vice versa, Windows 7 as host and FreeBSD as  
guest.


Thanks in advance,

Oliver



$ VBoxControl guestproperty enumerate
Oracle VM VirtualBox Guest Additions Command Line Management Interface  
Version 5.2.12

(C) 2008-2018 Oracle Corporation
All rights reserved.

Name: /VirtualBox/GuestInfo/OS/Product, value: FreeBSD, timestamp:  
1528741487897421700, flags: 
Name: /VirtualBox/GuestInfo/Net/0/V4/IP, value: 192.168.1.109, timestamp:  
1528741487918893700, flags: 
Name: /VirtualBox/HostInfo/GUI/LanguageID, value: nl_NL, timestamp:  
1528666475858641100, flags: RDONLYGUEST
Name: /VirtualBox/GuestInfo/Net/0/MAC, value: 08002720423D, timestamp:  
1528741487918893703, flags: 
Name: /VirtualBox/GuestInfo/OS/ServicePack, value: , timestamp:  
1528741487898396602, flags: 
Name: /VirtualBox/HostInfo/VBoxVerExt, value: 5.2.10, timestamp:  
1528741278182324903, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/Net/0/V4/Netmask, value: 255.255.255.0,  
timestamp: 1528741487918893702, flags: 
Name: /VirtualBox/GuestInfo/OS/Version, value: FreeBSD 12.0-CURRENT #11  
r333449M: Thu May 10 10:16:47 CEST 2018  
ronald@sjakie:/data/ronald/obj-freebsd-current/data/ronald/freebsd-current/amd64.amd64/sys/GENERIC-NODEBUG,  
timestamp: 1528741487898396601, flags: 
Name: /VirtualBox/GuestAdd/VersionExt, value: 5.2.12, timestamp:  
1528741487899372000, flags: 
Name: /VirtualBox/GuestAdd/Revision, value: 122571, timestamp:  
1528741487899372001, flags: 
Name: /VirtualBox/HostGuest/SysprepExec, value: , timestamp:  
1528741278182324900, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/OS/LoggedInUsers, value: 1, timestamp:  
1528741498181167800, flags: TRANSIENT, TRANSRESET
Name: /VirtualBox/GuestInfo/Net/0/Status, value: Up, timestamp:  
1528741487919869100, flags: 
Name: /VirtualBox/HostGuest/SysprepArgs, value: , timestamp:  
1528741278182324901, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestAdd/Version, value: 5.2.12, timestamp:  
1528741487898396603, flags: 
Name: /VirtualBox/HostInfo/VBoxRev, value: 122406, timestamp:  
1528741278182324904, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/Net/0/V4/Broadcast, value: 192.168.1.255,  
timestamp: 1528741487918893701, flags: 
Name: /VirtualBox/HostInfo/VBoxVer, value: 5.2.10, timestamp:  
1528741278182324902, flags: TRANSIENT, RDONLYGUEST
Name: /VirtualBox/GuestInfo/OS/LoggedInUsersList, value: ronald,  
timestamp: 1528741498180195000, flags: TRANSIENT, TRANSRESET
Name: /VirtualBox/GuestInfo/Net/Count, value: 1, timestamp:  
1528742501128855400, flags: 
Name: /VirtualBox/GuestInfo/OS/Release, value: 12.0-CURRENT, timestamp:  
1528741487898396600, flags: 
Name: /VirtualBox/GuestInfo/OS/NoLoggedInUsers, value: false, timestamp:  
1528741498182150800, flags: TRANSIENT, TRANSRESET
Name: /VirtualBox/GuestAdd/HostVerLastChecked, value: 5.2.10, timestamp:  
1528742457783226400, flags: 


Or more specific:

$ VBoxControl guestproperty get "/VirtualBox/HostInfo/VBoxVer"
Oracle VM VirtualBox Guest Additions Command Line Management Interface  
Version 5.2.12

(C) 2008-2018 Oracle Corporation
All rights reserved.

Value: 5.2.10


Regards,
Ronald.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


VBox: how can a guest check the underlying version of VBox?

2018-06-11 Thread O. Hartmann
Hello list,

I' apologize for bothering this list with this "non-CURRENT" question, but I
hope I can find here a quick answer.

>From within a running guest I need to check what Vbox version is running the
guest to provide a deployment system with the necessary informations about the
Guest Tools to be installed. The primary "Guests" are Windows 7 on top of
FreeBSD as the host and vice versa, Windows 7 as host and FreeBSD as guest.

Thanks in advance,

Oliver
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"