diff options
Diffstat (limited to 'cloudinit/sources/DataSourceVMware.py')
-rw-r--r-- | cloudinit/sources/DataSourceVMware.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/cloudinit/sources/DataSourceVMware.py b/cloudinit/sources/DataSourceVMware.py index 22ca63de..ed7f487a 100644 --- a/cloudinit/sources/DataSourceVMware.py +++ b/cloudinit/sources/DataSourceVMware.py @@ -63,20 +63,19 @@ Netifaces (https://github.com/al45tair/netifaces) import collections import copy -from distutils.spawn import find_executable import ipaddress import json import os import socket import time - -from cloudinit import dmi, log as logging -from cloudinit import sources -from cloudinit import util -from cloudinit.subp import subp, ProcessExecutionError +from distutils.spawn import find_executable import netifaces +from cloudinit import dmi +from cloudinit import log as logging +from cloudinit import sources, util +from cloudinit.subp import ProcessExecutionError, subp PRODUCT_UUID_FILE_PATH = "/sys/class/dmi/id/product_uuid" @@ -460,7 +459,7 @@ def guestinfo_set_value(key, value, vmware_rpctool=VMWARE_RPCTOOL): subp( [ vmware_rpctool, - ("info-set %s %s" % (get_guestinfo_key_name(key), value)), + "info-set %s %s" % (get_guestinfo_key_name(key), value), ] ) return True |