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
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
fc731adb
Commit
fc731adb
authored
Apr 01, 2022
by
Thomas Gambier
🚴🏼
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/theia: give a full range to SlapOS standalone
parent
6f281c26
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
software/theia/buildout.hash.cfg
software/theia/buildout.hash.cfg
+2
-2
software/theia/instance-theia.cfg.jinja.in
software/theia/instance-theia.cfg.jinja.in
+2
-2
software/theia/instance.cfg.in
software/theia/instance.cfg.in
+2
-1
No files found.
software/theia/buildout.hash.cfg
View file @
fc731adb
...
@@ -15,11 +15,11 @@
...
@@ -15,11 +15,11 @@
[instance-theia]
[instance-theia]
_update_hash_filename_ = instance-theia.cfg.jinja.in
_update_hash_filename_ = instance-theia.cfg.jinja.in
md5sum =
00d15432c1486376d8ba7d0f5ec63c33
md5sum =
864a40d9afdd2523e66c9cab40dc1f24
[instance]
[instance]
_update_hash_filename_ = instance.cfg.in
_update_hash_filename_ = instance.cfg.in
md5sum =
f2f01a47d98a980177dc1755e618bbb7
md5sum =
adff948b9d926f3ebcbb7cdb380665c9
[instance-import]
[instance-import]
_update_hash_filename_ = instance-import.cfg.jinja.in
_update_hash_filename_ = instance-import.cfg.jinja.in
...
...
software/theia/instance-theia.cfg.jinja.in
View file @
fc731adb
...
@@ -491,7 +491,7 @@ ip = {{ ipv4_random }}
...
@@ -491,7 +491,7 @@ ip = {{ ipv4_random }}
[slapos-standalone-config]
[slapos-standalone-config]
ipv4 = {{ ipv4_random }}
ipv4 = {{ ipv4_random }}
ipv6
= {{ ipv6_random
}}
ipv6
-range = {{ ipv6_range
}}
port = $${slapos-standalone-port:port}
port = $${slapos-standalone-port:port}
local-software-release-root = $${directory:home}
local-software-release-root = $${directory:home}
slapos-configuration = $${directory:runner}/etc/slapos.cfg
slapos-configuration = $${directory:runner}/etc/slapos.cfg
...
@@ -564,7 +564,7 @@ template =
...
@@ -564,7 +564,7 @@ template =
try:
try:
partition_count = 20
partition_count = 20
print("Standalone SlapOS: Formatting %d partitions" % partition_count)
print("Standalone SlapOS: Formatting %d partitions" % partition_count)
standalone.format(partition_count, '$${slapos-standalone-config:ipv4}', '$${slapos-standalone-config:ipv6}')
standalone.format(partition_count, '$${slapos-standalone-config:ipv4}', '$${slapos-standalone-config:ipv6
-range
}')
print("Standalone SlapOS for computer `$${slapos-standalone-config:computer-id}` started")
print("Standalone SlapOS for computer `$${slapos-standalone-config:computer-id}` started")
# Run instance at least once, to start the supervisor managing instances.
# Run instance at least once, to start the supervisor managing instances.
try:
try:
...
...
software/theia/instance.cfg.in
View file @
fc731adb
...
@@ -37,7 +37,8 @@ context =
...
@@ -37,7 +37,8 @@ context =
key parameter_dict slap-configuration:configuration
key parameter_dict slap-configuration:configuration
key root_title slap-configuration:root-instance-title
key root_title slap-configuration:root-instance-title
key partition_root_path buildout:directory
key partition_root_path buildout:directory
key ipv6_random slap-configuration:ipv6-random
key ipv6_range slap-configuration:ipv6-range-network
key ipv6_theia slap-configuration:ipv6-random
key ipv4_random slap-configuration:ipv4-random
key ipv4_random slap-configuration:ipv4-random
import os_module os
import os_module os
import hashlib_module hashlib
import hashlib_module hashlib
...
...
Thomas Gambier
🚴🏼
@tomo
mentioned in merge request
slapos.core!455 (merged)
·
Mar 09, 2023
mentioned in merge request
slapos.core!455 (merged)
mentioned in merge request slapos.core!455
Toggle commit list
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