aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap24
1 files changed, 24 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index c97d30b..240f193 100755
--- a/bootstrap
+++ b/bootstrap
@@ -210,6 +210,30 @@ rm -f /etc/localtime
cp /usr/share/zoneinfo/UTC /etc/localtime
chattr +i /etc/localtime
+# Change /etc/os-release, /etc/issue, /etc/motd.
+#
+cat <<EOF1 >/etc/os-release
+NAME="Build OS"
+VERSION="0.5.0"
+ID=buildos
+ID_LIKE=debian
+PRETTY_NAME="Build OS 0.5.0 (Based on Debian)"
+VERSION_ID="0.5"
+HOME_URL="https://build2.org/"
+SUPPORT_URL="https://lists.build2.org/"
+BUG_REPORT_URL="https://lists.build2.org/"
+EOF1
+
+cat <<EOF1 >/etc/issue
+Build OS 0.5.0 (Based on Debian) \n \l
+
+EOF1
+
+cat <<EOF1 >/etc/motd
+Welcome to Build OS 0.5.0 (https://build2.org)!
+
+EOF1
+
# Set root password.
#
chpasswd <<<'root:$passwd'