Statistics
| Branch: | Tag: | Revision:

root / hooks / node-add-post.d / snf-network @ 2e8a73e0

History | View | Annotate | Download (211 Bytes)

1
#!/bin/bash
2

    
3
source /etc/default/snf-network
4

    
5
source $CONF
6

    
7
NODE=$GANETI_NODE_NAME
8

    
9
HOSTNAME=$(hostname)
10

    
11
if [ "$HOSTNAME" = "$NODE" ]; then
12
  snf-network-build-node-infra
13

    
14
  snf-network-configure-interfaces
15
fi