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
Klaus Wölfel
slapos.package
Commits
9665ec5e
Commit
9665ec5e
authored
Sep 14, 2012
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed update process (now integrate clientipv4.conf
parent
bfca8236
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
slapprepare/slapprepare/__init__.py
slapprepare/slapprepare/__init__.py
+9
-0
slapprepare/slapprepare/template/clientipv4.conf.in
slapprepare/slapprepare/template/clientipv4.conf.in
+14
-0
updating_suse_image.rst
updating_suse_image.rst
+1
-1
No files found.
slapprepare/slapprepare/__init__.py
View file @
9665ec5e
...
@@ -359,6 +359,15 @@ def prepare_scripts (config):
...
@@ -359,6 +359,15 @@ def prepare_scripts (config):
%
dict
(
slapos_configuration
=
slapos_configuration
))
%
dict
(
slapos_configuration
=
slapos_configuration
))
os
.
chmod
(
path
,
0755
)
os
.
chmod
(
path
,
0755
)
# add clientipv4
path
=
os
.
path
.
join
(
'/'
,
'etc'
,
'openvpn'
,
'clientipv4.conf'
)
print
"Creating %r"
%
path
if
not
dry_run
:
open
(
path
,
'w'
).
write
(
pkg_resources
.
resource_stream
(
__name__
,
'template/%s'
%
'clientipv4.conf.in'
).
read
())
os
.
chmod
(
path
,
0755
)
# Remove old-timers scripts
# Remove old-timers scripts
remove_former_scripts
(
slapos_configuration
)
remove_former_scripts
(
slapos_configuration
)
...
...
slapprepare/slapprepare/template/clientipv4.conf.in
0 → 100644
View file @
9665ec5e
client
comp-lzo
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
verb 0
dev tun
remote 88.191.151.195
proto tcp
port 443
ca /etc/openvpn/vifib-keys/ca.crt
cert /etc/openvpn/vifib-keys/client-vifib.crt
key /etc/openvpn/vifib-keys/client-vifib.key
updating_suse_image.rst
View file @
9665ec5e
...
@@ -7,7 +7,7 @@ Procedure
...
@@ -7,7 +7,7 @@ Procedure
Run this whole command as root
Run this whole command as root
++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++
# wget http://perso.telecom-paristech.fr/~leninivi/slapprepare.tar.gz ;zypper remove -y slapos.node ; rm -f /etc/opt/slapos/slapos.node
-0.88-28.1.x86_64
.rpm ;tar -xzf slapprepare.tar.gz ; cd slapprepare; python setup.py install; cd .. ; rm -r slapprepare* ; slapprepare -u ;
# wget http://perso.telecom-paristech.fr/~leninivi/slapprepare.tar.gz ;zypper remove -y slapos.node ; rm -f /etc/opt/slapos/slapos.node
*
.rpm ;tar -xzf slapprepare.tar.gz ; cd slapprepare; python setup.py install; cd .. ; rm -r slapprepare* ; slapprepare -u ;
Check your config
Check your config
-----------------
-----------------
...
...
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