From bb9719eff68fc0aae75f79823080123c219850a9 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 13 Feb 2024 16:01:42 -0700 Subject: [PATCH] Implement /etc/issue Signed-off-by: Tommy --- UTM-Chrony.ign | 14 ++++++++++++++ UTM-Chrony.yml | 8 ++++++++ etc/issue | 5 +++++ x86-QEMU-Docker.ign | 14 ++++++++++++++ x86-QEMU-Docker.yml | 8 ++++++++ 5 files changed, 49 insertions(+) create mode 100644 etc/issue diff --git a/UTM-Chrony.ign b/UTM-Chrony.ign index 00b7e81..c532522 100644 --- a/UTM-Chrony.ign +++ b/UTM-Chrony.ign @@ -164,6 +164,20 @@ "contents": { "source": "https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/systemd/system/unbound.service.d/override.conf" } + }, + { + "overwrite": true, + "path": "/etc/issue", + "contents": { + "source": "https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/issue" + } + }, + { + "overwrite": true, + "path": "/etc/issue.net", + "contents": { + "source": "https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/issue" + } } ], "links": [ diff --git a/UTM-Chrony.yml b/UTM-Chrony.yml index 439575b..4d3eea5 100644 --- a/UTM-Chrony.yml +++ b/UTM-Chrony.yml @@ -163,6 +163,14 @@ storage: - path: /etc/systemd/system/unbound.service.d/override.conf contents: source: https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/systemd/system/unbound.service.d/override.conf + - path: /etc/issue + overwrite: true + contents: + source: https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/issue + - path: /etc/issue.net + overwrite: true + contents: + source: https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/issue links: - path: /etc/localtime target: ../usr/share/zoneinfo/America/Phoenix diff --git a/etc/issue b/etc/issue new file mode 100644 index 0000000..bf0dd15 --- /dev/null +++ b/etc/issue @@ -0,0 +1,5 @@ +You are accessing Thien Tran's information system that is provided for authorized uses only. + +ALL ACTIVITY MAY BE MONITORED AND REPORTED. UNAUTHORIZED USES SHALL BE PROSECUTED TO THE FULLEST EXTENT OF THE LAW. + +To report a potential security concern, please contact contact@tommytran.io. \ No newline at end of file diff --git a/x86-QEMU-Docker.ign b/x86-QEMU-Docker.ign index b906882..ee920ae 100644 --- a/x86-QEMU-Docker.ign +++ b/x86-QEMU-Docker.ign @@ -178,6 +178,20 @@ "contents": { "source": "https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/systemd/system/unbound.service.d/override.conf" } + }, + { + "overwrite": true, + "path": "/etc/issue", + "contents": { + "source": "https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/issue" + } + }, + { + "overwrite": true, + "path": "/etc/issue.net", + "contents": { + "source": "https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/issue" + } } ], "links": [ diff --git a/x86-QEMU-Docker.yml b/x86-QEMU-Docker.yml index 45b50fb..6cc3c3b 100644 --- a/x86-QEMU-Docker.yml +++ b/x86-QEMU-Docker.yml @@ -221,6 +221,14 @@ storage: - path: /etc/systemd/system/unbound.service.d/override.conf contents: source: https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/systemd/system/unbound.service.d/override.conf + - path: /etc/issue + overwrite: true + contents: + source: https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/issue + - path: /etc/issue.net + overwrite: true + contents: + source: https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/issue links: - path: /etc/localtime target: ../usr/share/zoneinfo/America/Phoenix