Nexenta in VMware

Nexenta is a GNU-based OpenSolaris – very cool. I ran it using the latest VMware image from their site. Trouble is, the latest (VMware 6.0) vmware-tools did not install cleanly. I found that it assumes a pure Solaris structure. Here’s the patch to vmware-config-tools.pls for it to work with Nexenta:

6151a6152,6153
>   my $release;
>   my $distro;
6153a6156,6169
>     # check for Nexenta
>     if ( -e "/etc/lsb-release" ) {
>        open(*RELEASE,"/etc/lsb-release");
>        $release=;
>        if ($release =~ /GNU_OpenSolaris/) {
>           $distro="Nexenta";
>        } else {
>           $distro="Other";
>        }
>        close(RELEASE);
>     }
>     else {
>        $distro="Other";
>     }
6155c6171,6175
< $name = "/usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh";
---
>     if ( $distro eq "Nexenta" ) {
>        $name = "/etc/X11/Xsession.d/9999.autostart-vmware-user.sh";
>     } else {
>        $name = "/usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh";
>     }

Leave a Reply