From owner-freebsd-current@freebsd.org Mon Jun 11 18:44:51 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75FCD1005ED6 for ; Mon, 11 Jun 2018 18:44:51 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0807775DB5 for ; Mon, 11 Jun 2018 18:44:50 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1fSRo3-0001cT-5N; Mon, 11 Jun 2018 20:44:43 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-current , "O. Hartmann" Subject: Re: VBox: how can a guest check the underlying version of VBox? References: <20180611131453.5f247c0c@freyja.zeit4.iv.bundesimmobilien.de> Date: Mon, 11 Jun 2018 20:44:43 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <20180611131453.5f247c0c@freyja.zeit4.iv.bundesimmobilien.de> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: 6c56b5a68734eff3bb82063186e8a5cf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2018 18:44:51 -0000 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.