summaryrefslogtreecommitdiff
path: root/cloudinit/sources/helpers/vmware/imc
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/sources/helpers/vmware/imc')
-rw-r--r--cloudinit/sources/helpers/vmware/imc/config_nic.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/cloudinit/sources/helpers/vmware/imc/config_nic.py b/cloudinit/sources/helpers/vmware/imc/config_nic.py
index 42fbcc7e..77098a05 100644
--- a/cloudinit/sources/helpers/vmware/imc/config_nic.py
+++ b/cloudinit/sources/helpers/vmware/imc/config_nic.py
@@ -19,7 +19,6 @@
import logging
import os
-import subprocess
import re
from cloudinit import util
@@ -186,9 +185,8 @@ class NicConfigurator:
lines = []
for addr in addrs:
- lines.append(
- ' up route -A inet6 add default gw %s metric 10000' %
- addr.gateway)
+ lines.append(' up route -A inet6 add default gw '
+ '%s metric 10000' % addr.gateway)
return lines