summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/files/vmware-startscript
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-03-16 23:25:23 +0100
committerDirk von Suchodoletz2008-03-16 23:25:23 +0100
commite9a412d928a2077ce2e72c86f7b637257b999fd2 (patch)
tree54a068e2e1a613f6ec4efe1d093239d525cce1f0 /os-plugins/plugins/vmware/files/vmware-startscript
parentWorking on the vmware plugin (see comments within the files ...) (diff)
downloadcore-e9a412d928a2077ce2e72c86f7b637257b999fd2.tar.gz
core-e9a412d928a2077ce2e72c86f7b637257b999fd2.tar.xz
core-e9a412d928a2077ce2e72c86f7b637257b999fd2.zip
Fixed some obvious bugs ... (see #154 for discussion too)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1638 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/files/vmware-startscript')
-rwxr-xr-xos-plugins/plugins/vmware/files/vmware-startscript12
1 files changed, 5 insertions, 7 deletions
diff --git a/os-plugins/plugins/vmware/files/vmware-startscript b/os-plugins/plugins/vmware/files/vmware-startscript
index c6b22ee6..d41230ca 100755
--- a/os-plugins/plugins/vmware/files/vmware-startscript
+++ b/os-plugins/plugins/vmware/files/vmware-startscript
@@ -29,11 +29,8 @@
# read the configuration file generated in stage3 to configure the
# host internal interfaces
-#. /etc/vmware/slxvmconfig
-# testing only
-vmnet0=""
-vmnet1="192.168.101.1/24"
-vmnet8=""
+. /etc/vmware/slxvmconfig
+
load_modules() {
# to be filled in via the stage1 configuration script
@@ -42,8 +39,9 @@ load_modules() {
#modprobe vm...
}
unload_modules() {
- # to be filled in via the stage1 configuration script
- rmmod vmmon vmblock vmnet #2>/dev/null
+ # to be filled with the proper list within via the stage1 configuration
+ # script
+ rmmod vmmon vmblock vmnet 2>/dev/null
}
# the bridged interface
setup_vmnet0() {