summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/xen
diff options
context:
space:
mode:
authorMichael Janczyk2008-06-11 15:35:09 +0200
committerMichael Janczyk2008-06-11 15:35:09 +0200
commit201969831145b0938194e606c66fb8db408c26de (patch)
treeac2bd5eacf6237a0d1dba6fb57dde5a3ef2f3406 /os-plugins/plugins/xen
parentFirst release of a xen plugin. Only a few diskless corrections inside. Works ... (diff)
downloadcore-201969831145b0938194e606c66fb8db408c26de.tar.gz
core-201969831145b0938194e606c66fb8db408c26de.tar.xz
core-201969831145b0938194e606c66fb8db408c26de.zip
added quotes for tftp port problem (not tested yet ticket #232).
minor modifications in xen plugin (changed name from bootsplash to xen ;)) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1874 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/xen')
-rw-r--r--os-plugins/plugins/xen/OpenSLX/OSPlugin/xen.pm4
-rw-r--r--os-plugins/plugins/xen/init-hooks/10-have-nw-modules/xen.sh2
2 files changed, 2 insertions, 4 deletions
diff --git a/os-plugins/plugins/xen/OpenSLX/OSPlugin/xen.pm b/os-plugins/plugins/xen/OpenSLX/OSPlugin/xen.pm
index 4a8288c8..5e500b49 100644
--- a/os-plugins/plugins/xen/OpenSLX/OSPlugin/xen.pm
+++ b/os-plugins/plugins/xen/OpenSLX/OSPlugin/xen.pm
@@ -28,7 +28,7 @@ sub new
my $class = shift;
my $self = {
- name => 'bootsplash',
+ name => 'xen',
};
return bless $self, $class;
@@ -71,7 +71,7 @@ sub suggestAdditionalKernelModules
my @suggestedModules;
- # Ubuntu needs vesafb and fbcon (which drags along some others)
+ # Xen needs bridge module and for SUSE 10.2 netloop other OS: to be checked
if ($makeInitRamFSEngine->{'distro-name'} =~ m{^suse}i) {
push @suggestedModules, qw( bridge netloop )
}
diff --git a/os-plugins/plugins/xen/init-hooks/10-have-nw-modules/xen.sh b/os-plugins/plugins/xen/init-hooks/10-have-nw-modules/xen.sh
index 3886c00d..47edd682 100644
--- a/os-plugins/plugins/xen/init-hooks/10-have-nw-modules/xen.sh
+++ b/os-plugins/plugins/xen/init-hooks/10-have-nw-modules/xen.sh
@@ -1,6 +1,5 @@
# configure Xen bridge xenbr0
xenbr_config () {
- echo -e "Configuring Xen...\c"
modprobe ${MODPRV} netloop
local ipls
local vifnum="0"
@@ -23,6 +22,5 @@ xenbr_config () {
ip link set ${ipls}
done
brctl addif ${bridge} ${pdev}
- echo " OK"
exit 0
}