diff options
Diffstat (limited to 'remote/modules')
| -rw-r--r-- | remote/modules/kdm-theme-bwlp/data/etc/kde4/kdm/kdmrc | 1 | ||||
| -rw-r--r-- | remote/modules/openstack/README | 25 | ||||
| -rw-r--r-- | remote/modules/openstack/module.build | 11 | ||||
| -rw-r--r-- | remote/modules/openstack/module.conf | 6 | ||||
| -rw-r--r-- | remote/modules/vbox/module.build | 13 |
5 files changed, 52 insertions, 4 deletions
diff --git a/remote/modules/kdm-theme-bwlp/data/etc/kde4/kdm/kdmrc b/remote/modules/kdm-theme-bwlp/data/etc/kde4/kdm/kdmrc index 62425031..196e1ce7 100644 --- a/remote/modules/kdm-theme-bwlp/data/etc/kde4/kdm/kdmrc +++ b/remote/modules/kdm-theme-bwlp/data/etc/kde4/kdm/kdmrc @@ -30,6 +30,7 @@ AutoLoginEnable=false ServerAttempts=2 # Custom directory so kdm never sees any other sessions - it's up to the vmchooser to list them SessionsDirs=/opt/openslx/xsessions +TerminateServer=true # Session is executed to start the user's session (as the user) # "One of the keywords failsafe, default or custom, or a string to eval by a Bourne-compatible shell is passed as the first argument." diff --git a/remote/modules/openstack/README b/remote/modules/openstack/README new file mode 100644 index 00000000..ce373f20 --- /dev/null +++ b/remote/modules/openstack/README @@ -0,0 +1,25 @@ +Hier die Installationsschritte für 14.04: + +apt-get install -y neutron-common neutron-plugin-ml2 neutron-plugin-openvswitch-agent nova-compute-kvm python-guestfs python-mysqldb + +* System konfigurieren: +dpkg-statoverride --update --add root root 0644 /boot/vmlinuz-$(uname -r) + +add to: /etc/sysctl.conf +net.ipv4.conf.all.rp_filter=0 +net.ipv4.conf.default.rp_filter=0 + +sysctl -p + +ovs-vsctl add-br br-int + +Configs: +/etc/nova/api-paste.ini +/etc/nova/nova.conf +/etc/nova/nova-compute.conf + +/etc/neutron/api-paste.ini +/etc/neutron/neutron.conf +/etc/neutron/plugin/ + +Ich denke die configs packen wir in die config.tgz diff --git a/remote/modules/openstack/module.build b/remote/modules/openstack/module.build new file mode 100644 index 00000000..97e93235 --- /dev/null +++ b/remote/modules/openstack/module.build @@ -0,0 +1,11 @@ +fetch_source() { + : +} + +build() { + : +} + +post_copy() { + : +} diff --git a/remote/modules/openstack/module.conf b/remote/modules/openstack/module.conf new file mode 100644 index 00000000..8912f439 --- /dev/null +++ b/remote/modules/openstack/module.conf @@ -0,0 +1,6 @@ +REQUIRED_CONTENT_PACKAGES="" +REQUIRED_INSTALLED_PACKAGES="" + +REQUIRED_BINARIES="" +REQUIRED_LIBRARIES="" +REQUIRED_DIRECTORIES="" diff --git a/remote/modules/vbox/module.build b/remote/modules/vbox/module.build index 5a533089..f4a8610a 100644 --- a/remote/modules/vbox/module.build +++ b/remote/modules/vbox/module.build @@ -1,11 +1,16 @@ #!/bin/bash patch_vbox_scripts() { - # patching some virtualbox utility scripts to include openslx-busybox paths. Strange sed-ing, as the added - # openslx paths need to be at the end of PATH to not impede with system binaries to not impede with system binaries + # Patching virtualbox utility scripts to include openslx-busybox binary paths. Strange sed-ing, as the openslx + # binary paths need to be at the end of PATH to not impede with system binaries. + # It seems sufficient to patch just VBox, as eg. vboxmanage, vboxheadless etc. are just links to VBox. + # If only vboxmanage, vboxheadless or such should be patched (and not the base script VBox) just use a list + # in the loop (eg. 'for i in virtualbox vboxmanage vboxheadless; do'). These links will be replaced by patched + # 'real' files. Of course it will not make sense if VBox is included in the list, then. + # Patched files will be saved with extension .original. + pinfo "Patching virtual box scripts to include openslx (busybox)-paths ..." - # vboxmanage is a link to VBox; will get unlinked. Original link will be vboxmanage.original - for i in virtualbox vboxmanage vboxheadless; do + for i in VBox; do pinfo "Patching virtual box script $i ..." SCRIPTPATH=$(grep -m 1 PATH "${MODULE_BUILD_DIR}/usr/bin/$i"|sed 's/"//g') # assume first hit is real path sed -i "-i.original" "/^PATH=/c ${SCRIPTPATH}:/opt/openslx/bin:/opt/openslx/usr/bin:/opt/openslx/sbin"\ |
