Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] VMWare and Simpleinit

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Mads Laursen <dossen+sgl AT daimi.au.dk>
  • To: Discussion of Spells and Grimoire items <sm-grimoire AT lists.ibiblio.org>
  • Subject: Re: [SM-Grimoire] VMWare and Simpleinit
  • Date: Wed, 19 Nov 2003 00:20:55 +0100

On 18/11/03 16.11, Bearcat M. Sandor wrote:
> Eric,
> Thanx. I'd appreciate you keeping me and the list posted.
> On Tuesday 18 November 2003 14:33 in an email titled "Re: [SM-Grimoire]
> VMWare
> and Simpleinit" Eric Sandall wrote:
> >Quoting "Bearcat M. Sandor" <Sorcerer AT TheDragonsEdge.com>:
> >> Hey folks,
> >> I'm running VMWare and would like to get it working on boot with the
> >> simpleinit-msb system For now I have to run vmware-config.pl after every
> >> reboot.
> >> Has anyone gotten vmware to work with the new system? I thought AlleyCat
> >> mentioned something. If anyone has, can they post it as a wikki?
> >> Thanx,
> >> Bearcat
> >If no one has, then I probably will, as I'm looking at purchasing VMware
> >for
> >Linux at work for testing new configurations.
> >-sandalle

I'm working on a script for vmware. So far I have the attached bit of
code, which sets up monitoring and bridged network. Adding other kinds
of network would mainly require finding out what the canonical
/dev/vmnet? for these is. Also the script should be extended to
shutdown the started processes, which should be easy since there are
pid files in /var/run/vmware/.

/dossen
#!/bin/sh

RUNLEVEL=3
NEEDS="+local_fs +network"

. /etc/init.d/smgl_init

case $1 in
start) echo "Installing vmware monitoring..."
lsmod|grep -q vmmon || insmod /lib/modules/`uname -r`/misc/vmmon.o
evaluate_retval

echo "Installing vmware networking..."
lsmod|grep -q vmnet || insmod /lib/modules/`uname -r`/misc/vmnet.o
evaluate_retval

echo "Setting up bridged network (vmnet0)..."
mkdir -p /var/run/vmware
/usr/local/bin/vmnet-bridge -d /var/run/vmware/vmnet0.pid
/dev/vmnet0 eth0
evaluate_retval
;;

stop)
;;

*) echo "Usage: $0 {start|stop}"
echo "Installs/removes vmware support modules."
exit 1
;;
esac

Attachment: pgpR5MxCfCy22.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page