commit | dd94647da127ca97960ef5265aae09b3290b46cd | [log] [tgz] |
---|---|---|
author | Andrea Campanella <andrea@opennetworking.org> | Fri Jul 31 11:03:44 2020 +0200 |
committer | Andrea Campanella <andrea@opennetworking.org> | Fri Jul 31 11:28:24 2020 +0200 |
tree | 7dccdf3f38db7b07ae5dbbb5cc946ac59afada64 | |
parent | 657e13cc8dc1755a6b327784951e1288f99c204f [diff] |
Overriding pre-existing cluster cfg Change-Id: I54ed3b178f6714e8326a3a8d31c60b5ae7a02c32
diff --git a/voltha b/voltha index cc81802..6e96939 100755 --- a/voltha +++ b/voltha
@@ -1548,6 +1548,12 @@ espin "$NOT_VERIFIED" bspin - "Generating cluster configuration" + file="$NAME-cluster.cfg" + + if [ -f "$file" ] ; then + rm "$file" + fi + touch "$NAME-cluster.cfg" yq w -i "$NAME-cluster.cfg" kind Cluster