aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench/chaining.py
diff options
context:
space:
mode:
Diffstat (limited to 'nfvbench/chaining.py')
-rw-r--r--nfvbench/chaining.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfvbench/chaining.py b/nfvbench/chaining.py
index b983efb..5248d01 100644
--- a/nfvbench/chaining.py
+++ b/nfvbench/chaining.py
@@ -500,7 +500,7 @@ class ChainVnf(object):
vnf_gateway1_cidr = g1cidr
vnf_gateway2_cidr = g2cidr
- with open(BOOT_SCRIPT_PATHNAME, 'r') as boot_script:
+ with open(BOOT_SCRIPT_PATHNAME, 'r', encoding="utf-8") as boot_script:
content = boot_script.read()
vm_config = {
'forwarder': config.vm_forwarder,