def CheckOSImage(op):
  os_image = objects.GetOSImage(op.osparams)
  CheckImageValidity(os_image, "OS image must be an absolute path or a URL")
  return os_image
Checks if the OS image in the OS parameters of an opcode is
dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/common.py/CheckOSImage