mirror of
https://github.com/rancher/os.git
synced 2025-09-12 04:01:20 +00:00
Initial commit
This commit is contained in:
2
files/usr/lib/issue.d/10-rancheros.conf
Normal file
2
files/usr/lib/issue.d/10-rancheros.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
Welcome to \S - Kernel \r (\l).
|
||||
|
9
files/usr/lib/os-release.tmpl
Normal file
9
files/usr/lib/os-release.tmpl
Normal file
@@ -0,0 +1,9 @@
|
||||
NAME="${OS_NAME}"
|
||||
VERSION="v${OS_VERSION} (${OS_GIT})"
|
||||
ID="rancheros"
|
||||
ID_LIKE="suse opensuse"
|
||||
VERSION_ID="${OS_VERSION}"
|
||||
PRETTY_NAME="${OS_NAME} v${OS_VERSION} (${OS_GIT})"
|
||||
ANSI_COLOR="0;32"
|
||||
BUG_REPORT_URL="https://github.com/rancher/os/issues"
|
||||
HOME_URL="https://github.com/rancher/os"
|
22
files/usr/lib/systemd/system/rancherd.service
Normal file
22
files/usr/lib/systemd/system/rancherd.service
Normal file
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=Rancher Bootstrap
|
||||
Documentation=https://github.com/rancher/rancherd
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
EnvironmentFile=-/etc/default/%N
|
||||
EnvironmentFile=-/etc/sysconfig/%N
|
||||
KillMode=process
|
||||
# Having non-zero Limit*s causes performance problems due to accounting overhead
|
||||
# in the kernel. We recommend using cgroups to do container-local accounting.
|
||||
LimitNOFILE=1048576
|
||||
LimitNPROC=infinity
|
||||
LimitCORE=infinity
|
||||
TasksMax=infinity
|
||||
TimeoutStartSec=0
|
||||
ExecStart=/usr/bin/rancherd bootstrap
|
Reference in New Issue
Block a user