"description":"If the VM of cluster doesn't run Ansible and report status to this SlapOS instances, then this allow to disable ansible promise so your instance will not fail to check ansible promise.",
"type":"boolean",
"default":false
},
"instance-server-url":{
"title":"Server URL of the instance to clone.",
"description":"Server URL on instance where this VM should be copied. If specified, the Server instance will be stopped and data will be moved to this VM. Please specify this parameter only if you really know what you are doing.",
"format":"uri",
"type":"string"
},
"allow-to-move":{
"title":"Allow to clone and move this VM",
"description":"If set to False this VM will not be moved and will continue to exists event if the vm is cloned. If the VM was moved, set this to True will change the state to a normal VM.",
{% set test = kvm_parameter_dict.get('allow-to-move', True) == True -%}
{% if kvm_parameter_dict.get('instance-server-url', '') -%}
{% do item_dict.__setitem__('skip_publish', True) -%}
recipe = slapos.cookbook:request.clone
clone-software-type = kvm-clone
clone-return = clone-is-done
{% if item_dict['has_slave'] and not kvm_parameter_dict.get('allow-to-move', True) -%}
{# If this vm was cloned, and user try to restore the vm, set force-create-clone to True to allow to clone the instance event if it is already deployed -#}
"description":"Text content which will be written in a file 'data' of http server of this virtual machine instance. The file will be available via URL: http://10.0.2.100/data in the VM.",
"type":"string"
},
"instance-server-url":{
"title":"Server URL of the instance to clone.",
"description":"Server URL on instance where this VM should be copied. If specified, qemu hardrive will be copied from the specified instance.",
"format":"uri",
"type":"string"
},
"ca-url":{
"title":"Certificate Authority URL",
"description":"The certificate Authority web URL, if this parameter is not specified a new certificate Authority server will be deployed with this instance",
"format":"uri",
"type":"string"
},
"ca-cert":{
"title":"CA Certificate (optional)",
"description":"The CA certificate, if specified this certificate will be used or added to the current CA Certificate",
"format":"uri",
"type":"string"
},
"frontend-instance-guid":{
"title":"Frontend Instance ID",
"description":"Unique identifier of the frontend instance, like \"SOFTINST-11031\".",