From eaeb75d858f45447c4b3d17f33b6183f95b98466 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Tue, 2 Feb 2021 10:42:07 +0100 Subject: [qemu] Rename 'qemukvm' core module to 'qemu' --- core/modules/qemu/data/etc/qemu/bridge.conf | 6 ++++++ .../etc/systemd/system/graphical.target.wants/qemukvm.service | 1 + core/modules/qemu/data/etc/systemd/system/qemukvm.service | 9 +++++++++ 3 files changed, 16 insertions(+) create mode 100644 core/modules/qemu/data/etc/qemu/bridge.conf create mode 120000 core/modules/qemu/data/etc/systemd/system/graphical.target.wants/qemukvm.service create mode 100644 core/modules/qemu/data/etc/systemd/system/qemukvm.service (limited to 'core/modules/qemu/data/etc') 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 -- cgit v1.2.3-55-g7522