Skip to content

Commit b0802e3

Browse files
authored
Merge pull request #56 from klts-io/add/source
Add others source
2 parents 63ddb04 + 5b67671 commit b0802e3

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

content/en/docs/install.md

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ name=klts
2020
baseurl=https://raw.githubusercontent.com/klts-io/kubernetes-lts/rpm-v${VERSION}/\$basearch/
2121
enabled=1
2222
gpgcheck=0
23+
[klts-others]
24+
name=klts-others
25+
baseurl=https://raw.githubusercontent.com/klts-io/others/rpm/\$basearch/
26+
enabled=1
27+
gpgcheck=0
2328
EOF
2429

2530
yum makecache
@@ -32,6 +37,7 @@ Run the following code to set the source of downloading a proper distribution:
3237
VERSION=1.18.20-lts.2
3338
cat << EOF > /etc/apt/sources.list.d/klts.list
3439
deb [trusted=yes] https://raw.githubusercontent.com/klts-io/kubernetes-lts/deb-v${VERSION} stable main
40+
deb [trusted=yes] https://raw.githubusercontent.com/klts-io/others/deb stable main
3541
EOF
3642

3743
apt-get update

content/zh/docs/install.md

+36
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ name=klts
2121
baseurl=https://raw.githubusercontent.com/klts-io/kubernetes-lts/rpm-v${VERSION}/\$basearch/
2222
enabled=1
2323
gpgcheck=0
24+
[klts-other]
25+
name=klts-others
26+
baseurl=https://raw.githubusercontent.com/klts-io/others/rpm/\$basearch/
27+
enabled=1
28+
gpgcheck=0
2429
EOF
2530

2631
yum makecache
@@ -33,6 +38,7 @@ yum makecache
3338
VERSION=1.18.20-lts.2
3439
cat << EOF > /etc/apt/sources.list.d/klts.list
3540
deb [trusted=yes] https://raw.githubusercontent.com/klts-io/kubernetes-lts/deb-v${VERSION} stable main
41+
deb [trusted=yes] https://raw.githubusercontent.com/klts-io/others/deb stable main
3642
EOF
3743

3844
apt-get update
@@ -59,6 +65,11 @@ name=klts
5965
baseurl=https://raw.githubusercontent.com/klts-io/kubernetes-lts/rpm-v${VERSION}/\$basearch/
6066
enabled=1
6167
gpgcheck=0
68+
[klts-other]
69+
name=klts-others
70+
baseurl=https://raw.githubusercontent.com/klts-io/others/rpm/\$basearch/
71+
enabled=1
72+
gpgcheck=0
6273
EOF
6374

6475
yum makecache
@@ -75,6 +86,11 @@ name=klts
7586
baseurl=https://hub.fastgit.org/klts-io/kubernetes-lts/raw/rpm-v${VERSION}/\$basearch/
7687
enabled=1
7788
gpgcheck=0
89+
[klts-other]
90+
name=klts-others
91+
baseurl=https://hub.fastgit.org/klts-io/others/raw/rpm/\$basearch/
92+
enabled=1
93+
gpgcheck=0
7894
EOF
7995

8096
yum makecache
@@ -91,6 +107,11 @@ name=klts
91107
baseurl=https://ghproxy.com/https://raw.githubusercontent.com/klts-io/kubernetes-lts/rpm-v${VERSION}/\$basearch/
92108
enabled=1
93109
gpgcheck=0
110+
[klts-other]
111+
name=klts-others
112+
baseurl=https://ghproxy.com/https://raw.githubusercontent.com/klts-io/others/rpm/\$basearch/
113+
enabled=1
114+
gpgcheck=0
94115
EOF
95116

96117
yum makecache
@@ -107,6 +128,11 @@ name=klts
107128
baseurl=https://raw.githubusercontents.com/klts-io/kubernetes-lts/rpm-v${VERSION}/\$basearch/
108129
enabled=1
109130
gpgcheck=0
131+
[klts-other]
132+
name=klts-others
133+
baseurl=https://raw.githubusercontents.com/klts-io/others/rpm/\$basearch/
134+
enabled=1
135+
gpgcheck=0
110136
EOF
111137

112138
yum makecache
@@ -123,6 +149,11 @@ name=klts
123149
baseurl=https://raw.staticdn.net/klts-io/kubernetes-lts/rpm-v${VERSION}/\$basearch/
124150
enabled=1
125151
gpgcheck=0
152+
[klts-other]
153+
name=klts-others
154+
baseurl=https://raw.staticdn.net/klts-io/others/rpm/\$basearch/
155+
enabled=1
156+
gpgcheck=0
126157
EOF
127158

128159
yum makecache
@@ -146,6 +177,7 @@ curl https://raw.githubusercontent.com/wzshiming/github-hosts/master/hosts >>/et
146177
VERSION=1.18.20-lts.2
147178
cat << EOF > /etc/apt/sources.list.d/klts.list
148179
deb [trusted=yes] https://raw.githubusercontent.com/klts-io/kubernetes-lts/deb-v${VERSION} stable main
180+
deb [trusted=yes] https://raw.githubusercontent.com/klts-io/others/deb stable main
149181
EOF
150182

151183
apt-get update
@@ -157,6 +189,7 @@ apt-get update
157189
VERSION=1.18.20-lts.2
158190
cat << EOF > /etc/apt/sources.list.d/klts.list
159191
deb [trusted=yes] https://hub.fastgit.org/klts-io/kubernetes-lts/raw/deb-v${VERSION} stable main
192+
deb [trusted=yes] https://hub.fastgit.org/klts-io/others/raw/deb stable main
160193
EOF
161194

162195
apt-get update
@@ -168,6 +201,7 @@ apt-get update
168201
VERSION=1.18.20-lts.2
169202
cat << EOF > /etc/apt/sources.list.d/klts.list
170203
deb [trusted=yes] https://ghproxy.com/https://raw.githubusercontent.com/klts-io/kubernetes-lts/deb-v${VERSION} stable main
204+
deb [trusted=yes] https://ghproxy.com/https://raw.githubusercontent.com/klts-io/others/deb stable main
171205
EOF
172206

173207
apt-get update
@@ -179,6 +213,7 @@ apt-get update
179213
VERSION=1.18.20-lts.2
180214
cat << EOF > /etc/apt/sources.list.d/klts.list
181215
deb [trusted=yes] https://raw.githubusercontents.com/klts-io/kubernetes-lts/deb-v${VERSION} stable main
216+
deb [trusted=yes] https://raw.githubusercontents.com/klts-io/others/deb stable main
182217
EOF
183218

184219
apt-get update
@@ -190,6 +225,7 @@ apt-get update
190225
VERSION=1.18.20-lts.2
191226
cat << EOF > /etc/apt/sources.list.d/klts.list
192227
deb [trusted=yes] https://raw.staticdn.net/klts-io/kubernetes-lts/deb-v${VERSION} stable main
228+
deb [trusted=yes] https://raw.staticdn.net/klts-io/kubernetes-lts/deb stable main
193229
EOF
194230

195231
apt-get update

0 commit comments

Comments
 (0)