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
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
Show 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
...
@@ -47,14 +47,15 @@ fi
# Run slapformat
# Run slapformat
i
=
1
i
=
1
echo
-n
"Running slapos node format..."
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
while
[
$?
!=
0
]
;
do
sleep
$((
$i
*
60
))
sleep
$((
$i
*
60
))
if
[
$i
-le
20
]
;
then
if
[
$i
-le
20
]
;
then
let
i++
let
i++
fi
fi
echo
"Retrying slapos node format"
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
done
if
[
$ONLY_SLAPFORMAT
=
false
]
;
then
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