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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
slapos.package
Commits
88cfa65a
Commit
88cfa65a
authored
Jun 07, 2013
by
Vivien Alger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected function definition in re6stnet
parent
70655daa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
templates/re6stnet.sh
templates/re6stnet.sh
+6
-3
No files found.
templates/re6stnet.sh
View file @
88cfa65a
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
REGISTRY
=
${
REGISTRY
:-
http
://re6stnet.nexedi.com
}
...
...
@@ -11,7 +12,8 @@ function re6st_conf_generation{
effect"
}
function
remove_VPN_conf
{
function
remove_VPN_conf
{
# Remove VPN configuration
if
[
-e
/etc/openvpn/vifib.conf
]
;
then
rm
/etc/openvpn/vifib.conf
...
...
@@ -25,7 +27,8 @@ 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
echo
"Copied old slapos.cfg to
$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