Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NoCloud-Auto-Installer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
NoCloud-Auto-Installer
Commits
fc8c928a
Commit
fc8c928a
authored
Dec 15, 2023
by
Elian Loraux
Browse files
Options
Downloads
Patches
Plain Diff
add /boot to monit and remove noauto
parent
3c847b88
Branches
Branches containing commit
No related tags found
1 merge request
!4
Resolve "Surveillance interne des serveur"
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
upgradeAll.sh
+1
-1
1 addition, 1 deletion
upgradeAll.sh
with
1 addition
and
1 deletion
upgradeAll.sh
+
1
−
1
View file @
fc8c928a
...
@@ -56,7 +56,7 @@ if [ -z "$(dpkg -l | grep ' monit ')" ]; then
...
@@ -56,7 +56,7 @@ if [ -z "$(dpkg -l | grep ' monit ')" ]; then
apt-get update
&&
apt-get
install
-y
monit
apt-get update
&&
apt-get
install
-y
monit
# Monit all partition without swap and boot
# Monit all partition without swap and boot
list_of_part
=(
`
grep
-v
"#
\|
swap
\|
boot
"
/etc/fstab |
awk
'{print $2}'
`
)
list_of_part
=(
`
grep
-v
"#
\|
swap
\|
noauto
"
/etc/fstab |
awk
'{print $2}'
`
)
echo
""
>
./result
echo
""
>
./result
for
part
in
"
${
list_of_part
[@]
}
"
for
part
in
"
${
list_of_part
[@]
}
"
do
do
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment