projects
/
snf-network
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix a bug in generic mode
[snf-network]
/
hooks
/
node-add-post.d
/
snf-network
1
#!/bin/bash
2
3
source /etc/default/snf-network
4
5
source $CONF
6
7
if $ENABLE_AUTO_CONF_HOOKS; then
8
9
NODE=$GANETI_NODE_NAME
10
11
HOSTNAME=$(hostname).$(hostname -d)
12
13
if [ "$HOSTNAME" = "$NODE" ]; then
14
snf-network-build-node-infra
15
16
snf-network-configure-interfaces
17
fi
18
19
fi
20
21
exit 0