aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-25 09:01:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-25 09:01:01 +0200
commit9c34b8d3c45b2bbc1098b2ea0e002e4b5d5c4f86 (patch)
tree2ecf4bbb09c1aa5bfab8a206bbdf9c29619e301e
parentea81317d3757f625c6728ef8b1bd512aa3393332 (diff)
Update OS name
-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'