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
Carlos Ramos Carreño
slapos.package
Commits
70c39e7e
Commit
70c39e7e
authored
Jun 10, 2013
by
Vivien Alger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modifying functions
parent
f1f82220
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
templates/re6stnet.sh
templates/re6stnet.sh
+3
-3
No files found.
templates/re6stnet.sh
View file @
70c39e7e
SLAPOS_CFG_PATH
=
/etc/opt/slapos/slapos.cfg
function
re6st_conf_generation
function
re6st_conf_generation
()
{
# Generate re6st configuration
read
-p
"Please enter the registry you wish to use for re6st[http://re6stnet.nexedi.com]: "
REGISTRY
...
...
@@ -12,7 +12,7 @@ function re6st_conf_generation
effect"
}
function
remove_VPN_conf
function
remove_VPN_conf
()
{
# Remove VPN configuration
if
[
-e
/etc/openvpn/vifib.conf
]
;
then
...
...
@@ -27,7 +27,7 @@ function remove_VPN_conf
fi
}
function
modify_interfaces_in_SlapOS_conf
function
modify_interfaces_in_SlapOS_conf
()
{
# Modify slapos.cfg to use lo
cp
$SLAPOS_CFG_PATH
$SLAPOS_CFG_PATH
.old
...
...
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