Skip to main content
Update recreate an instance from a new/updated template

Usage

Arguments

integer
required
id of instance to update

Options

integer
new template ID to associate with the instance
string
new template hash ID to associate with the instance
string
new image UUID for the instance
string
new arguments for the instance
object
new environment variables for the instance
string
new onstart script for the instance

Description

Example: vastai update instance 1234 --template_hash_id 661d064bbda1f2a133816b6d55da07c3

Examples

Global Options

The following options are available for all commands: