create-virtualbox-repo-0.0.2 (IPS support)

Discussions related to using VirtualBox on Solaris hosts.

create-virtualbox-repo-0.0.2 (IPS support)

Postby stes » 26. Nov 2018, 20:26

"create-virtualbox-repo" is a script for Solaris 11.4 to convert ("load") the VBoxSolarisPackage.pkg into an IPS repository.

The script can be downloaded from my home page at http://users.telenet.be/stes .

Using a repo makes it easier to install the guest additions into a Solaris guest, using "pkg".

The script is "experimental" so please do not use it on production servers/guest machines.

For example, after loading the Solaris guest additions into the IPS repo with publisher "local", on a guest vm:
Code: Select all   Expand viewCollapse view
root@saturn:~# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://192.168.0.1/
local                       origin   online F http://192.168.0.1/

root@saturn:~# pkg list -af virtualbox/*
NAME (PUBLISHER)                                  VERSION                    IFO

virtualbox/guest/filesystem (local)               6.0.0-2.126642             ---

virtualbox/guest/module (local)                   6.0.0-2.126642             ---

virtualbox/guest/mouse (local)                    6.0.0-2.126642             ---

virtualbox/guest/vboxguest (local)                6.0.0-2.126642             ---

after :
Code: Select all   Expand viewCollapse view
root@saturn:~# pkg install virtualbox/guest/mouse

reboot and the services can be ran:
Code: Select all   Expand viewCollapse view
root@saturn:~# svcs -p vboxservice
STATE          STIME    FMRI
online         19:11:42 svc:/application/virtualbox/vboxservice:default
               19:11:42       678 VBoxService
root@saturn:~# svcadm enable vboxmslnk
root@saturn:~# svcs -a | grep vbox
online         19:11:42 svc:/application/virtualbox/vboxservice:default
online         19:12:00 svc:/application/virtualbox/vboxmslnk:default
root@saturn:~# pkg list virtualbox/*
NAME (PUBLISHER)                                  VERSION                    IFO

virtualbox/guest/module (local)                   6.0.0-2.126642             i--

virtualbox/guest/mouse (local)                    6.0.0-2.126642             i--

virtualbox/guest/vboxguest (local)                6.0.0-2.126642             i--

root@saturn:~# svcadm disable vboxservice
root@saturn:~# svcadm disable vboxmslnk 

to uninstall the guest additions:
Code: Select all   Expand viewCollapse view
root@saturn:~# pkg uninstall virtualbox/*
stes
 
Posts: 133
Joined: 28. Apr 2018, 11:07

Return to VirtualBox on Solaris Hosts

Who is online

Users browsing this forum: No registered users and 1 guest