Statistics
| Branch: | Tag: | Revision:

root / hooks / node-add-post.d / snf-network @ 6e257ba8

History | View | Annotate | Download (221 Bytes)

1
#!/bin/bash
2

    
3
source /etc/default/snf-network
4

    
5
source $CONF
6

    
7

    
8
NODE=$GANETI_NODE_NAME
9

    
10
HOSTNAME=$(hostname)
11

    
12
if [ "$HOSTNAME" != "$NODE" ]; then
13
  exit 0
14
fi
15

    
16

    
17
snf-network-build-node-infra
18

    
19
snf-network-configure-interfaces
20