def system_types():
 ret = {}
 for line in __salt__['cmd.run']('sfdisk -T').splitlines():
  if (not line):
   continue
  if line.startswith('Id'):
   continue
  comps = line.strip().split()
  ret[comps[0]] = comps[1]
 return ret

def system_types ( ) : ret = { } for line in __salt__ [ 'cmd.run' ] ( 'sfdisk -T' ) . splitlines ( ) : if ( not line ) : continue if line . startswith ( 'Id' ) : continue comps = line . strip ( ) . split ( ) ret [ comps [ 0 ] ] = comps [ 1 ] return ret
list the system types that are supported by the installed version of sfdisk cli example: .