Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
reference-repository
Commits
7b37cc6c
Commit
7b37cc6c
authored
Apr 22, 2016
by
Jérémie Gaidamour
Browse files
[dev] bind.rb: mic support
parent
6fe180c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
dev/puppet/bind.rb
View file @
7b37cc6c
...
...
@@ -118,6 +118,11 @@ refapi["sites"].each { |site_uid, site|
network_adapters
[
net_uid
]
=
{
"ip"
=>
ip
,
"mounted"
=>
nil
}
}
if
node
[
'kavlan'
]
# Mic
if
node
[
'mic'
]
&&
node
[
'mic'
][
'ip'
]
network_adapters
[
'mic0'
]
=
{
"ip"
=>
node
[
'mic'
][
'ip'
]}
end
# Group ip ranges
network_adapters
.
each
{
|
net_uid
,
net_hash
|
next
unless
net_hash
[
'ip'
]
...
...
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