projects
/
snf-network
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove netfile from kvm-vif-bridge
[snf-network]
/
snf-network-unconfigure-interfaces
1
#!/bin/bash
2
3
DEFAULT=/etc/default/snf-network
4
5
source $DEFAULT
6
source $CONF
7
source $INFRA
8
9
HOSTNAME=$(hostname)
10
11
INTERFACES=$SHAREDDIR/interfaces/$HOSTNAME
12
13
if [ -e "$INTERFACES" ]; then
14
ifdown -i $INTERFACES -a --force
15
fi