Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.package
Commits
94b4ab52
Commit
94b4ab52
authored
Sep 14, 2022
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pin and allow some extra domain
api.github.com, nodejs.org, wxpython.org, objects.githubusercontent.com
parent
b3723786
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
2 deletions
+30
-2
playbook/slapos-standalone.yml
playbook/slapos-standalone.yml
+30
-2
No files found.
playbook/slapos-standalone.yml
View file @
94b4ab52
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
-
name
:
Change the goproxy in the hosts
-
name
:
Change the goproxy in the hosts
lineinfile
:
lineinfile
:
line
:
"
1
20.221.249.22
0
goproxy.cn"
line
:
"
1
12.29.228.20
0
goproxy.cn"
dest
:
/etc/hosts
dest
:
/etc/hosts
-
name
:
Change the goproxy.cn(qiniucs.com) in the hosts
-
name
:
Change the goproxy.cn(qiniucs.com) in the hosts
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
# Allow to access api.github.com, needed by theia
# Allow to access api.github.com, needed by theia
-
name
:
Change the github.com in the hosts
-
name
:
Change the github.com in the hosts
lineinfile
:
lineinfile
:
line
:
"
140.82.121.
3
api.github.com"
line
:
"
140.82.121.
5
api.github.com"
dest
:
/etc/hosts
dest
:
/etc/hosts
# Allow to access gitlab.com, required by gitlab SR
# Allow to access gitlab.com, required by gitlab SR
...
@@ -223,6 +223,20 @@
...
@@ -223,6 +223,20 @@
destination
:
githubusercontent.com
destination
:
githubusercontent.com
jump
:
ACCEPT
jump
:
ACCEPT
-
name
:
Allow to access objects.githubusercontent.com ipv4
lineinfile
:
line
:
"
185.199.108.133
githubusercontent.com"
dest
:
/etc/hosts
-
name
:
Allow to access objects.githubusercontent.com ipv4
iptables
:
action
:
append
chain
:
OUTPUT
protocol
:
tcp
destination_port
:
443
destination
:
objects.githubusercontent.com
jump
:
ACCEPT
-
name
:
Allow to access githubusercontent.com
-
name
:
Allow to access githubusercontent.com
iptables
:
iptables
:
action
:
append
action
:
append
...
@@ -335,6 +349,20 @@
...
@@ -335,6 +349,20 @@
destination
:
npmmirror.com
destination
:
npmmirror.com
jump
:
ACCEPT
jump
:
ACCEPT
-
name
:
Pin the nodejs.org in the hosts
lineinfile
:
line
:
"
104.20.22.46
nodejs.org"
dest
:
/etc/hosts
-
name
:
Allow to access nodejs.org
iptables
:
action
:
append
chain
:
OUTPUT
protocol
:
tcp
destination_port
:
443
destination
:
nodejs.org
jump
:
ACCEPT
-
name
:
Allow to access raw.githubusercontent.com
-
name
:
Allow to access raw.githubusercontent.com
iptables
:
iptables
:
ip_version
:
ipv6
ip_version
:
ipv6
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment