code: def attach_vmware(uuid, vid_hex=None, pid_hex=None, serial=None):
      print(
          "NOTE: vmware doesn't seem to support automatic attaching of devices :("
      )
      print("The VMWare VM UUID is {uuid}")
      print(
          "Please attach the following usb device using the VMWare GUI:"
      )
      if vid_hex is not None:
          print(f" - VID: {vid_hex}")
      if pid_hex is not None:
          print(f" - PID: {pid_hex}")
      if serial is not None:
          print(f" - Serial: {serial}")
      if vid_hex is None and pid_hex is None and serial is None:
          print(" - (no specifications given for USB device)")
      print()
      print("Press [Enter] when the USB device is attached")
      input()
  
imports: import argparse
  import copy
  import json
  import logging
  import pathlib
  import os
  import re
  import shlex
  import shutil
  import subprocess
  import sys
  import pathlib
label_desc: Use image node_id 5 for calling a global function with example usage: attach_vmware(uuid, vid_hex, pid_hex, serial) without return types