summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/data/etc
diff options
context:
space:
mode:
authorManuel Bentele2021-02-02 10:42:07 +0100
committerManuel Bentele2021-02-02 10:42:07 +0100
commiteaeb75d858f45447c4b3d17f33b6183f95b98466 (patch)
tree6846441981fa5fd43b24b3e973d38144d92f578e /core/modules/qemu/data/etc
parent[hardware-stats] Add ID45 to status updates (diff)
downloadmltk-eaeb75d858f45447c4b3d17f33b6183f95b98466.tar.gz
mltk-eaeb75d858f45447c4b3d17f33b6183f95b98466.tar.xz
mltk-eaeb75d858f45447c4b3d17f33b6183f95b98466.zip
[qemu] Rename 'qemukvm' core module to 'qemu'
Diffstat (limited to 'core/modules/qemu/data/etc')
-rw-r--r--core/modules/qemu/data/etc/qemu/bridge.conf6
l---------core/modules/qemu/data/etc/systemd/system/graphical.target.wants/qemukvm.service1
-rw-r--r--core/modules/qemu/data/etc/systemd/system/qemukvm.service9
3 files changed, 16 insertions, 0 deletions
diff --git a/core/modules/qemu/data/etc/qemu/bridge.conf b/core/modules/qemu/data/etc/qemu/bridge.conf
new file mode 100644
index 00000000..b8478434
--- /dev/null
+++ b/core/modules/qemu/data/etc/qemu/bridge.conf
@@ -0,0 +1,6 @@
+# These needs to be compatible with the
+# bridge's names generated by
+# /opt/openslx/scripts/systemd-run_virt_env
+allow br0
+allow nat1
+allow vsw2
diff --git a/core/modules/qemu/data/etc/systemd/system/graphical.target.wants/qemukvm.service b/core/modules/qemu/data/etc/systemd/system/graphical.target.wants/qemukvm.service
new file mode 120000
index 00000000..89d8afbf
--- /dev/null
+++ b/core/modules/qemu/data/etc/systemd/system/graphical.target.wants/qemukvm.service
@@ -0,0 +1 @@
+../qemukvm.service \ No newline at end of file
diff --git a/core/modules/qemu/data/etc/systemd/system/qemukvm.service b/core/modules/qemu/data/etc/systemd/system/qemukvm.service
new file mode 100644
index 00000000..f1f3dec6
--- /dev/null
+++ b/core/modules/qemu/data/etc/systemd/system/qemukvm.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Sets up the virtual box environment
+Requires=run-virt-env.service
+After=run-virt-env.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/opt/openslx/scripts/systemd-qemukvm_env start