remove autoupdate_allow check at start of kylin-unattended-upgrade

This commit is contained in:
shenyafeng 2022-10-21 15:57:48 +08:00
parent ded60c184c
commit 8a56efcee7
1 changed files with 2 additions and 0 deletions

View File

@ -3790,6 +3790,7 @@ if __name__ == "__main__":
config_manager = ConfigFileManager(CONFIG_FILE_ROOT_PATH)
login_manager = LoginManager()
kylin_system_updater = KylinSystemUpdater()
'''
if os_release_info['PROJECT_CODENAME'] == 'V10SP1-edu' and os_release_info['SUB_PROJECT_CODENAME']=='mavis':
pass
else:
@ -3799,6 +3800,7 @@ if __name__ == "__main__":
else:
logging.info("auto upgrade not allow, exit")
sys.exit(0)
'''
#check control center lock
'''
if os.path.exists(CONTROL_PANEL_LOCK_FILE):