Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
grid5000
reference-repository
Commits
ff598b0b
Commit
ff598b0b
authored
Jun 07, 2019
by
RINGOT Patrice
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a new storage device in g5kchecks_importer in order to be able to import chifflot
parent
a5565c61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/refrepo/g5kchecks_importer.rb
lib/refrepo/g5kchecks_importer.rb
+1
-1
No files found.
lib/refrepo/g5kchecks_importer.rb
View file @
ff598b0b
...
...
@@ -25,7 +25,7 @@ def g5kchecks_importer(sourcedir)
puts
"Post-processing node uid =
#{
node_uid
}
"
hash
[
"storage_devices"
]
=
hash
[
"storage_devices"
].
sort_by_array
([
"sda"
,
"sdb"
,
"sdc"
,
"sdd"
,
"sde"
])
hash
[
"storage_devices"
]
=
hash
[
"storage_devices"
].
sort_by_array
([
"sda"
,
"sdb"
,
"sdc"
,
"sdd"
,
"sde"
,
"sdf"
])
hash
[
"storage_devices"
].
each
{
|
k
,
v
|
v
.
delete
(
"device"
)
}
remaped_net_names
=
[]
...
...
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