From 1fa15dd59e7dc58f4331305b9f401d3aabfa53cd Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 17 Mar 2014 07:51:03 +0100 Subject: filehooker: initial commit using archiso magic scripts --- .../root-image/etc/systemd/system/filehooker-hostname.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 filehooker/root-image/etc/systemd/system/filehooker-hostname.service (limited to 'filehooker/root-image/etc/systemd/system/filehooker-hostname.service') diff --git a/filehooker/root-image/etc/systemd/system/filehooker-hostname.service b/filehooker/root-image/etc/systemd/system/filehooker-hostname.service new file mode 100644 index 00000000..67879d82 --- /dev/null +++ b/filehooker/root-image/etc/systemd/system/filehooker-hostname.service @@ -0,0 +1,11 @@ +[Unit] +Description=change filehooker hostname +Before=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/krebs/bin/filehooker_set_hostname.sh + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3