Revision d2b16e51 hooks/network-add-post.d/snf-network

b/hooks/network-add-post.d/snf-network
1 1
#!/bin/bash
2 2

  
3
source /etc/default/snf-network
3
DEFAULT=/etc/default/snf-network
4

  
5
source $DEFAULT
6

  
7
source $CONF
8

  
9
NETWORK=$GANETI_NETWORK_NAME
4 10

  
5 11

  
6 12
NETFILE=$SHAREDDIR/networks/$NETWORK
......
19 25
TYPE=$GANETI_NETWORK_TYPE
20 26
EOF
21 27

  
22

  
28
sed -i 's/None//' $NETFILE

Also available in: Unified diff