mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
d15eb6aab6
Modified installer produces a k3s-server and k3s-agent systemd service, with env files located in /etc/rancher/k3s. The k3s-server service may be started without modification but k3s-agent requires a token and url modification to the /etc/rancher/k3s/k3s-agent.env file for functionality. The k3s-server service will conflict with the k3s-agent service, so both may not be started at the same time. Creates ./package/rpm/ repo dir for rpm specific resources and relocates k3s.spec.
9 lines
173 B
Bash
Executable File
9 lines
173 B
Bash
Executable File
cat <<EOF >/etc/yum.repos.d/rancher.repo
|
|
[rancher]
|
|
name=Rancher Repository
|
|
baseurl=https://rpm.rancher.io/
|
|
enabled=1
|
|
gpgcheck=1
|
|
gpgkey=https://rpm.rancher.io/public.key
|
|
EOF
|