Date: Mon, 11 Jun 2018 20:44:43 +0200 From: "Ronald Klop" <ronald-lists@klop.ws> To: freebsd-current <freebsd-current@freebsd.org>, "O. Hartmann" <ohartmann@walstatt.org> Subject: Re: VBox: how can a guest check the underlying version of VBox? Message-ID: <op.zkgjotohkndu52@klop.ws> In-Reply-To: <20180611131453.5f247c0c@freyja.zeit4.iv.bundesimmobilien.de> References: <20180611131453.5f247c0c@freyja.zeit4.iv.bundesimmobilien.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Jun 2018 13:14:58 +0200, O. Hartmann <ohartmann@walstatt.org> 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: <NULL> Name: /VirtualBox/GuestInfo/Net/0/V4/IP, value: 192.168.1.109, timestamp: 1528741487918893700, flags: <NULL> Name: /VirtualBox/HostInfo/GUI/LanguageID, value: nl_NL, timestamp: 1528666475858641100, flags: RDONLYGUEST Name: /VirtualBox/GuestInfo/Net/0/MAC, value: 08002720423D, timestamp: 1528741487918893703, flags: <NULL> Name: /VirtualBox/GuestInfo/OS/ServicePack, value: <NULL>, timestamp: 1528741487898396602, flags: <NULL> 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: <NULL> 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: <NULL> Name: /VirtualBox/GuestAdd/VersionExt, value: 5.2.12, timestamp: 1528741487899372000, flags: <NULL> Name: /VirtualBox/GuestAdd/Revision, value: 122571, timestamp: 1528741487899372001, flags: <NULL> Name: /VirtualBox/HostGuest/SysprepExec, value: <NULL>, 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: <NULL> Name: /VirtualBox/HostGuest/SysprepArgs, value: <NULL>, timestamp: 1528741278182324901, flags: TRANSIENT, RDONLYGUEST Name: /VirtualBox/GuestAdd/Version, value: 5.2.12, timestamp: 1528741487898396603, flags: <NULL> 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: <NULL> 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: <NULL> Name: /VirtualBox/GuestInfo/OS/Release, value: 12.0-CURRENT, timestamp: 1528741487898396600, flags: <NULL> Name: /VirtualBox/GuestInfo/OS/NoLoggedInUsers, value: false, timestamp: 1528741498182150800, flags: TRANSIENT, TRANSRESET Name: /VirtualBox/GuestAdd/HostVerLastChecked, value: 5.2.10, timestamp: 1528742457783226400, flags: <NULL> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.zkgjotohkndu52>