Date: Tue, 12 Jun 2001 08:26:53 -0700 (PDT) From: Doug Ambrisko <ambrisko@ambrisko.com> To: freebsd-emulation@FreeBSD.ORG Subject: FYI, multiple vmwares is possible but is a hack Message-ID: <200106121526.f5CFQsp46243@ambrisko.com>
next in thread | raw e-mail | index | archive | help
I have 2 vmwares running. I got the second one running by creating another vmmon with a different name but same number of characters: a21p% ls -l /compat/linux/dev/vmmo* crw-r--r-- 1 root wheel 200, 1 Jun 11 11:00 /compat/linux/dev/vmmo2 crw-r--r-- 1 root wheel 200, 0 May 9 14:32 /compat/linux/dev/vmmon a21p% Then I ran this Perl script to patch the "vmmo2" in places of "vmmon": #!/usr/local/bin/perl open(VMWARE,"/usr/local/lib/vmware/bin/vmware") || die; open(DUP,">/usr/local/lib/vmware/bin/vmware.dup") || die; while(<VMWARE>){ s,/dev/vmmon,/dev/vmmo2,; print DUP; } close VMWARE; close DUP; system("chmod 4555 /usr/local/lib/vmware/bin/vmware.dup"); Then I modified the vmware script to fire up: /usr/local/lib/vmware/bin/vmware.dup Now I have 2 vmwares running with networking etc. I define non-conflicting devices and use netgraph to tie the various networks together. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106121526.f5CFQsp46243>