Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Paul Graydon
slapos
Commits
31dcda6b
Commit
31dcda6b
authored
Mar 02, 2012
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to install in context of erp5testnode
parent
d930a84e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
slapos/recipe/softwaretype.py
slapos/recipe/softwaretype.py
+8
-4
No files found.
slapos/recipe/softwaretype.py
View file @
31dcda6b
...
...
@@ -123,10 +123,14 @@ class Recipe:
buildout
.
add_section
(
'slap-network-information'
)
# XXX Hack for beteireflow production
buildout
.
set
(
'slap-network-information'
,
'local-ipv4'
,
self
.
getLoopbackIPv4Address
())
buildout
.
set
(
'slap-network-information'
,
'global-ipv6'
,
self
.
getGlobalIPv4Address
())
try
:
local_ip
=
self
.
getLoopbackIPv4Address
()
global_ip
=
self
.
getGlobalIPv4Address
()
except
AttributeError
:
local_ip
=
self
.
getLocalIPv4Address
()
global_ip
=
self
.
getGlobalIPv6Address
()
buildout
.
set
(
'slap-network-information'
,
'local-ipv4'
,
global_ip
)
buildout
.
set
(
'slap-network-information'
,
'global-ipv6'
,
global_ip
)
# Copy/paste slap_connection
buildout
.
add_section
(
'slap-connection'
)
...
...
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