diff options
author | Dirk von Suchodoletz | 2009-07-16 18:53:17 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-07-16 18:53:17 +0200 |
commit | d592140bf91c11fc6c57db55d19001ac9ec17679 (patch) | |
tree | cc74bf6c444a084b43beb47f906f7b032ec35633 /os-plugins/plugins/vmware | |
parent | * workaround for init-file (diff) | |
download | core-d592140bf91c11fc6c57db55d19001ac9ec17679.tar.gz core-d592140bf91c11fc6c57db55d19001ac9ec17679.tar.xz core-d592140bf91c11fc6c57db55d19001ac9ec17679.zip |
Proper (single) packet selection for installation (untested) ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3008 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware')
-rw-r--r-- | os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm index 278ccf14..3184950e 100644 --- a/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm +++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Base.pm @@ -49,6 +49,29 @@ sub fillRunlevelScript my $self = shift; my $location = shift; my $kind = shift; +/* + my $initfile = newInitFile(); + $initfile->addFunction( + 'load_modules', + ' + # to be filled in via the stage1 configuration script + insmod /lib/modules/\$(uname -r)/misc/vmmon.ko || return 1 + insmod /lib/modules/\$(uname -r)/misc/vmnet.ko || return 1 + insmod /lib/modules/\$(uname -r)/misc/vmblock.ko 2>/dev/null || return 0 + ' + {param => "value"} + ); + + $initfile->addFunctionCall( + 'functionName', + 'start', # name of block + {priority => 5, } + ); + + $initfile->addDaemon("/bin/mydaemon"); + + my $runlevelscript = getInitFileForDistro($initfile, "ubuntu"); +*/ my $script = unshiftHereDoc(<<" End-of-Here"); #!/bin/sh |