Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
2259f4b7
Commit
2259f4b7
authored
Sep 27, 2013
by
Dan Reading
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checkinventorydrift: discard HW sets made outside of mfs mode.
parent
a180a6d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
clientside/tmcc/common/checknode/gen_sql
clientside/tmcc/common/checknode/gen_sql
+3
-2
No files found.
clientside/tmcc/common/checknode/gen_sql
View file @
2259f4b7
...
...
@@ -21,6 +21,7 @@ checkdrift_main() {
readtmcinfo
$newest
hwinvcopy
declare
-i
countsame
=
-1
for
tocheck
in
$allchecks
;
do
[[
$(
grep
'ismfs=0'
$tocheck
)
]]
&&
continue
# if not in ismfs mode then don't check
readtmcinfo
$tocheck
hwinv
# note: will check against self for sanity
comparetmcinfo /tmp/.
$$
checkdiff
...
...
@@ -40,7 +41,7 @@ checkdrift_main() {
# sudo mv $tocheck $projdir/$host/.tbdb/.notsame
# XXX - end
else
#
echo "$host $newest $tocheck SAME"
:
#
echo "$host $newest $tocheck SAME"
((
countsame++
))
fi
rm
-f
/tmp/.
$$
checkdiff
...
...
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