This endpoint reinstalls the operating system on the specified KVM VPS.
The api_host parameter, obtained from the “Create AUTH-session” response,
is dynamically set in the URL.
Provide the signature, kvm_id, valid_until, and other required parameters
to execute the reinstallation.
Documentation Index
Fetch the complete documentation index at: https://docs.edisglobal.com/llms.txt
Use this file to discover all available pages before exploring further.
Required parameters to reinstall the operating system.
All parameters must be passed in the request body as application/x-www-form-urlencoded.
The session signature obtained from the "Create AUTH-session" call.
"session_signature_12345"
The unique identifier of the KVM VPS to reinstall.
This value is specific to your VPS.
"kvm_xxxxx_yyyyy"
The expiration timestamp for the session, as obtained from the "Create AUTH-session" call.
Ensure that the session is valid and has not expired.
"1737476000"
The name of the operating system image to install.
Use the get autoinstall images endpoint to retrieve available images.
"debian-bullseye"
The root password for the new installation.
⚠️ If "cloudinit_user_data" is provided, this parameter may be ignored depending on the cloud-init configuration.
"your-password"
Optional cloud-init configuration for supported images.
Example:
#cloud-config
write_files:
- path: /etc/apt/apt.conf.d/99force-ipv4
content: |
Acquire::ForceIPv4 'true';
owner: 'root:root'
permissions: '0644'
set_hostname: kvmtest
user: root
password: YOUR_ROOT_PASSWORD
disable_root: false
disable_root_opts: ''
ssh_pwauth: False
ssh_authorized_keys:
- ssh-rsa YOUR_SSH_KEY
manage_etc_hosts: true
expire: False
runcmd:
- chage -d 19000 root
- [ /usr/bin/sed, -i, -E, 's/disable_root:.*true/disable_root: false/i', /etc/cloud/cloud.cfg ]
- [ /usr/bin/sed, -i, -E, 's/PermitRootLogin.*/PermitRootLogin without-password/i', /etc/ssh/sshd_config ]
- [ /usr/bin/sed, -i, -E, 's/#PermitRootLogin.*/PermitRootLogin yes/i', /etc/ssh/sshd_config ]
users:
- default
power_state:
delay: now
mode: reboot
message: Bye Bye
timeout: 30
condition: True
package_update: false
package_upgrade: false
Refer to the Cloud-init documentation for details.
The operating system was successfully reinstalled on the VPS.
The status of the operation.
"success"