summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Big round of cleanupSimon Rettberg2024-05-231-75/+0Star
| | | | | | | | | - Remove a lot of TODOs, either by fixing them or because they became irrelevant - Change all git:// to https:// - Move hwreport and hwinfo from /run to /run/openslx - Minor script style cleanups - Remove dead code and functions in various scripts
* [run-virt] dhcpd config: Remove fallback for entries if not knownSimon Rettberg2024-03-181-11/+11
| | | | | | | | WINS is hopefully dead by now. So don't try to guess which address it might actually have if the real DHCP server didn't supply one. Also remove fallback for search and domain (virtual.localnet), just leave them unset if the real DHCP server didn't supply those either.
* [run-virt] Split mounting of /tmp/virt into own serviceSimon Rettberg2024-01-292-31/+38
|
* [run-virt] Make sure we don't pass localhost as DNS server to VMsSimon Rettberg2023-11-281-1/+4
|
* [run-virt] Prefer DNS config from latest DHCP runsSimon Rettberg2023-11-281-3/+7
| | | | | | | Prefering SLX_DNS means we use very early DHCP config, which usually contains only one DNS server. Instead, check current resolv.conf first. Closes #3953
* [run-virt] Use mapfile for getipsSimon Rettberg2023-11-281-2/+2
|
* [run-virt] Don't run DHCPd config generator/restarter unless we support ↵Simon Rettberg2023-06-061-1/+5
| | | | running VMs at all
* [run-virt] Fix race condition in dhcpd config generatorSimon Rettberg2022-05-241-6/+9
|
* [run-virt] Allow FORWARDing for all additional bridged NICsSimon Rettberg2022-02-161-0/+15
|
* [run-virt/dhcpc-busybox] Restart nat1 dhcpd if network config changesSimon Rettberg2021-10-112-63/+67
|
* Add installer mode for stage4Simon Rettberg2021-07-081-0/+6
|
* Change the mail address for feedback in file headersSteffen Ritter2021-04-292-2/+2
| | | | * old address will be disabled in the future
* [*] Remove "export PATH..." -> DefaultEnvironment= in system.conf.dSimon Rettberg2020-09-232-4/+0Star
| | | | | | Since we can set PATH for everything spawned by systemd, this boilerplate code is not needed anymore. Makes future changes much easier.
* [run-virt] fix mathSimon Rettberg2020-09-221-2/+2
|
* [run-virt] Fix timeout calls wrt busybox commit c9720a76Simon Rettberg2020-08-072-6/+6
|
* [run-virt] add default PATH...Jonathan Bauer2020-01-281-0/+2
|
* [run-virt] use busybox's timeoutJonathan Bauer2019-12-131-1/+1
|
* [run-virt] Clean up run-vort-inv script a littleSimon Rettberg2019-10-281-34/+37
| | | | Worst offenses found by shellcheck should be fixed now
* [run-virt] Make dhcpd its own serviceSimon Rettberg2019-10-281-3/+13
| | | | | Closes #3540 Closes #3501
* [run-virt] Get rid of wrapper and handle directly in run-virtSimon Rettberg2019-07-091-64/+1Star
|
* [pam-slx-plug] Move old pam_script_* hook dirs to pam dirSimon Rettberg2019-06-282-99/+0Star
| | | | | | They're all now in subdirectories of /opt/openslx/pam/hooks. Symlinks have been put in place where they used to reside.
* [run-virt] Fix warning about messy tr callSimon Rettberg2019-05-241-1/+1
|
* [all] New license clauses as to ticket #3132: No more openSLX GmbHChristian Rößler2018-09-192-14/+16
|
* [run-virt] wait before calling slxlog on exit 141Jonathan Bauer2018-05-071-0/+5
| | | | | | | | | If the main run-virt script exits with 141 (which happens when it is killed by either loginctl on SLX_LOGOUT_TIMEOUT or when killing X with alt-printscreen-k), sleep 3 seconds to try and avoid the unnecessary slxlog messages. Closes #3365
* [vbox-src] more vbox plugin fixesJonathan Bauer2018-04-131-19/+1Star
| | | | | | | | | * use HW_CORES from /run/hwinfo * add usb attach script [WIP] * udev rule to trigger attach script when usb is connected * edit_attr -> set_attr now always creating missing nodes/attributes ...and prolly more I cant think of now ...
* [*] LDAP_DOMAIN_OVERRIDE -> SHARE_DOMAINJonathan Bauer2018-04-111-2/+2
|
* [run-virt] Honor SLX_VM_NFS_OPTS when mountingSimon Rettberg2018-03-211-12/+26
| | | | Implements #3323
* [pam-slx-plug/run-virt] Create a usable shares file for run-virtSimon Rettberg2018-03-101-0/+8
| | | | Global /opt/openslx/inc/shares is legacy fallback only
* [pam/runvirt/..] Move .account and .home into .openslx subdirectorySimon Rettberg2018-03-101-2/+2
| | | | | | Create separate tmpfs for .openslx to make sure the user cannot rename, edit or remove the files. It's a subdir of $HOME which has 0700, so no other user will be able to read it.
* [run-virt] pwdaemon now drops privs, no more su hack; support pam-slx-plugSimon Rettberg2018-03-091-21/+43
| | | | | If usage of pam-slx-plug is detected, we'll use the approprivate environment variables to detect the mount domain, not the global /opt/openslx/inc/shares
* [run-virt] add --sync to slxlog callsJonathan Bauer2018-01-181-2/+2
|
* [run-virt] Fix obviously broken sed expression: Don't fail on empty domainSimon Rettberg2017-11-241-1/+1
|
* [run-virt] add support for SLX_VM_TMP_* fallbackJonathan Bauer2017-10-231-0/+29
|
* [run-virt] 2 second timeout for dns lookups; change fallback domainSimon Rettberg2017-10-201-6/+8
|
* [run-virt] fix MAC address n°2389756902365Jonathan Bauer2017-10-201-2/+2
|
* [run-virt] Speed up network setupSimon Rettberg2017-08-111-16/+8Star
| | | | | DNS dependency solved via systemd instead of busy-wait loop. nslookup timeout set to 1 second.
* [run-virt] fix bad codeJonathan Bauer2017-08-101-3/+4
|
* [run-virt] Put slash AFTER domain (...)Simon Rettberg2017-07-141-1/+1
|
* [run-virt] Support domainless credential passingSimon Rettberg2017-07-131-14/+19
|
* [run-virt] Try more mount options for CIFS, just like satellite serverSimon Rettberg2017-04-041-2/+10
|
* [run-virt/vmware] reintroduce lost featureJonathan Bauer2017-03-301-0/+5
| | | | detection and passthrough of serial and parallel port
* [run-virt] Support passing credentials to runscriptSimon Rettberg2017-02-221-2/+8
|
* [runvirt] reworked wrapper log handlingJonathan Bauer2017-02-151-20/+38
|
* [runvirt] introduced wrapper script to start ...Jonathan Bauer2017-02-142-8/+60
| | | | | | | | ... runvirt with to hopefully always have either a user notification or a log entry on the satellites if anything goes wrong. Also fixed the MAC address generation: the prefix is now fully defined in the systemd-run_virt_env script and correctly written in the vmware's dhcp configuration file (so that VMs the default local IP by default)
* [run-virt] Fix domain name extraction from ldap configSimon Rettberg2017-02-061-2/+2
|
* [run-virt/dhcp-busybox] Get WINS server from upstream DHCP, pass on to VMs ↵Simon Rettberg2017-02-031-1/+15
| | | | via local DHCPD
* major run-virt restructure, only vmware plugin tested!Jonathan Bauer2017-01-2521-1011/+48Star
|
* merge with latest dev version (tm-scripts commit ↵Jonathan Bauer2016-12-235-151/+100Star
| | | | f5a59daf8d70a9027118292cd40b18c221897408)
* merge with latest dev versionSebastian2016-04-2525-0/+1855