remove autoupdate_allow check at start of kylin-unattended-upgrade
This commit is contained in:
parent
ded60c184c
commit
8a56efcee7
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue