Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
devops
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osm
devops
Commits
3f7f46ab
Commit
3f7f46ab
authored
5 years ago
by
madavi
Committed by
Gerrit Code Review
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Install iptables-persistent package"
parents
bf573187
43fb44d5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
installers/full_install_osm.sh
+4
-0
4 additions, 0 deletions
installers/full_install_osm.sh
with
4 additions
and
0 deletions
installers/full_install_osm.sh
+
4
−
0
View file @
3f7f46ab
...
...
@@ -646,6 +646,10 @@ function juju_createcontroller() {
}
function
juju_createproxy
()
{
echo
-e
"
\n
Checking required packages: iptables-persistent"
dpkg
-l
iptables-persistent &>/dev/null
||
!
echo
-e
" Not installed.
\n
Installing iptables-persistent requires root privileges"
||
\
sudo
DEBIAN_FRONTEND
=
noninteractive apt-get
-yq
install
iptables-persistent
if
!
sudo
iptables
-t
nat
-C
PREROUTING
-p
tcp
-m
tcp
--dport
17070
-j
DNAT
--to-destination
$OSM_VCA_HOST
;
then
sudo
iptables
-t
nat
-A
PREROUTING
-p
tcp
-m
tcp
--dport
17070
-j
DNAT
--to-destination
$OSM_VCA_HOST
sudo
netfilter-persistent save
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment