How To Set Custom VM Lease Using CLI
Problem
Environment
Procedure
# TOKEN=`openstack token issue -c id -f value` [< this command will provide authentication token# curl -X POST -H "X-Auth-Token:$TOKEN" -H "Content-type: application/json" https://<HOST_URL]/mors/v1/tenant/[tenant_UUID]/instance/[instance_uuid] -d '{"instance_uuid":"[instance_uuid]","expiry": "[date_time]"}'{ "success": true}Last updated
