diff options
author | Christian Rößler | 2018-04-09 17:51:57 +0200 |
---|---|---|
committer | Christian Rößler | 2018-04-09 17:51:57 +0200 |
commit | cb82b029286cda79850b5aabc39e90f55fa275f7 (patch) | |
tree | 6927c084a44722779f802038d96ced80241ad164 | |
parent | [run-virt] Linux scripts: runscript execution (diff) | |
parent | new module for special slx network targets (diff) | |
download | mltk-cb82b029286cda79850b5aabc39e90f55fa275f7.tar.gz mltk-cb82b029286cda79850b5aabc39e90f55fa275f7.tar.xz mltk-cb82b029286cda79850b5aabc39e90f55fa275f7.zip |
Merge branch 'master' of git.openslx.org:openslx-ng/mltk
5 files changed, 20 insertions, 0 deletions
diff --git a/core/modules/network-online-slx-targets/data/etc/systemd/system/network-dns.target b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-dns.target new file mode 100644 index 00000000..8bc541ab --- /dev/null +++ b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-dns.target @@ -0,0 +1,2 @@ +[Unit] +Description=DNS Server available diff --git a/core/modules/network-online-slx-targets/data/etc/systemd/system/network-gateway.target b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-gateway.target new file mode 100644 index 00000000..11139162 --- /dev/null +++ b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-gateway.target @@ -0,0 +1,2 @@ +[Unit] +Description=Default route configured diff --git a/core/modules/network-online-slx-targets/data/etc/systemd/system/network-online.target.d/00-slx-targets.conf b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-online.target.d/00-slx-targets.conf new file mode 100644 index 00000000..898d20b1 --- /dev/null +++ b/core/modules/network-online-slx-targets/data/etc/systemd/system/network-online.target.d/00-slx-targets.conf @@ -0,0 +1,3 @@ +[Unit] +Wants=network-gateway.target network-dns.target +Before=network-gateway.target network-dns.target diff --git a/core/modules/network-online-slx-targets/module.build b/core/modules/network-online-slx-targets/module.build new file mode 100644 index 00000000..241bcd5e --- /dev/null +++ b/core/modules/network-online-slx-targets/module.build @@ -0,0 +1,12 @@ +#!/bin/bash +fetch_source() { + : +} + +build() { + pinfo "Static module, nothing to build." +} + +post_copy() { + : +} diff --git a/core/modules/network-online-slx-targets/module.conf b/core/modules/network-online-slx-targets/module.conf new file mode 100644 index 00000000..c01ade29 --- /dev/null +++ b/core/modules/network-online-slx-targets/module.conf @@ -0,0 +1 @@ +# Nothing |