Skip to content

Commit

Permalink
Vultr: update Ubuntu version due to deprecation of 16.04
Browse files Browse the repository at this point in the history
Signed-off-by: Johan Siebens <[email protected]>
  • Loading branch information
jsiebens authored and alexellis committed Jul 7, 2021
1 parent b2435d7 commit d1c28b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,13 +480,14 @@ func createHost(provider, name, region, zone, projectID, userData, inletsPort st
} else if provider == "vultr" {
// OS:
// A complete list of available OS is available using: https://api.vultr.com/v1/os/list
// 215 = Ubuntu 16.04 x64
// 387 = Ubuntu 20.04 x64
// Plans:
// A complete list of available OS is available using: https://api.vultr.com/v1/plans/list
// 201 = 1024 MB RAM,25 GB SSD,1.00 TB BW
const ubuntu20_04_x64 = "387"
return &provision.BasicHost{
Name: name,
OS: "215",
OS: ubuntu20_04_x64,
Plan: "201",
Region: region,
UserData: userData,
Expand Down

0 comments on commit d1c28b8

Please sign in to comment.