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
25b7e55a
Commit
25b7e55a
authored
Jul 09, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update boot script to new simpler slapos command.
parent
804f9633
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
slapos-node/slapos-start
slapos-node/slapos-start
+3
-2
No files found.
slapos-node/slapos-start
View file @
25b7e55a
...
...
@@ -47,14 +47,15 @@ fi
# Run slapformat
i
=
1
echo
-n
"Running slapos node format..."
/opt/slapos/bin/slapos node format
--now
--console
--log_file
=
/opt/slapos/log/slapos-node-format.log
$SLAPOS_CONFIGURATION
/slapos.cfg
SLAPOS_FORMAT_COMMAND
=
"/opt/slapos/bin/slapos node format --cfg
$SLAPOS_CONFIGURATION
/slapos.cfg --now --log-file=/opt/slapos/log/slapos-node-format.log"
$SLAPOS_FORMAT_COMMAND
while
[
$?
!=
0
]
;
do
sleep
$((
$i
*
60
))
if
[
$i
-le
20
]
;
then
let
i++
fi
echo
"Retrying slapos node format"
/opt/slapos/bin/slapos node format
--now
--console
--verbose
--log_file
=
/opt/slapos/log/slapos-node-format.log
$SLAPOS_CONFIGURATION
/slapos.cfg
$SLAPOS_FORMAT_COMMAND
done
if
[
$ONLY_SLAPFORMAT
=
false
]
;
then
...
...
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