def additions_mount():
 mount_point = tempfile.mkdtemp()
 ret = __salt__['mount.mount'](mount_point, '/dev/cdrom')
 if (ret is True):
  return mount_point
 else:
  raise OSError(ret)

def additions_mount ( ) : mount_point = tempfile . mkdtemp ( ) ret = __salt__ [ 'mount.mount' ] ( mount_point , '/dev/cdrom' ) if ( ret is True ) : return mount_point else : raise OSError ( ret )
mount virtualbox guest additions cd to the temp directory .