The following are two methods on how to modify the delete latency for a VM instance:

  • UI:

    Go to SettingsGlobal SettingsBasic Settings, and set ExpungePeriod.

  • Command Line:
    Run the following commands successively:
    [root@localhost ~]# zstack-cli  #Run CLI.
    admin>>> LogInByAccount accountName=admin password=password #Log in to CLI. Default user name/password: admin/password.
    admin>>> UpdateGlobalConfig category=vm name=expungePeriod value=3600  #Set the delete latency to 3600 seconds.