def SetUnattendedInstall(self, unattended_install):
    if not hasattr(self, '_plist'):
      raise PlistNotParsedError

    if unattended_install:
      self._plist['unattended_install'] = True
      # TODO(user): remove backwards compatibility at some point...
      self._plist['forced_install'] = True
      self._changed = True
    else:
      if 'unattended_install' in self._plist:
        del self._plist['unattended_install']
        self._changed = True
      # TODO(user): remove backwards compatibility at some point...
      if 'forced_install' in self._plist:
        del self._plist['forced_install']
        self._changed = True
Set the package info unattended install.
dataset/ETHPy150Open google/simian/src/simian/mac/munki/plist.py/MunkiPackageInfoPlist.SetUnattendedInstall