Skip to content

Commit

Permalink
Update Ubuntu version for OpenStack templates (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
juhnny5 authored Jan 21, 2024
1 parent 81c76b9 commit e7d1632
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion openstack-go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ func main() {
// Create an OpenStack resource (Compute Instance)
instance, err := compute.NewInstance(ctx, "test", &compute.InstanceArgs{
FlavorName: pulumi.String("s1-2"),
ImageName: pulumi.String("Ubuntu 16.04"),
ImageName: pulumi.String("Ubuntu 22.04"),
})
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion openstack-javascript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const os = require("@pulumi/openstack");
// Create an OpenStack resource (Compute Instance)
const instance = new os.compute.Instance("test", {
flavorName: "s1-2",
imageName: "Ubuntu 16.04",
imageName: "Ubuntu 22.04",
});

// Export the IP of the instance
Expand Down
2 changes: 1 addition & 1 deletion openstack-python/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Create an OpenStack resource (Compute Instance)
instance = compute.Instance('test',
flavor_name='s1-2',
image_name='Ubuntu 16.04')
image_name='Ubuntu 22.04')

# Export the IP of the instance
pulumi.export('instance_ip', instance.access_ip_v4)
2 changes: 1 addition & 1 deletion openstack-typescript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as os from "@pulumi/openstack";
// Create an OpenStack resource (Compute Instance)
const instance = new os.compute.Instance("test", {
flavorName: "s1-2",
imageName: "Ubuntu 16.04",
imageName: "Ubuntu 22.04",
});

// Export the IP of the instance
Expand Down
2 changes: 1 addition & 1 deletion openstack-yaml/Pulumi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resources:
type: openstack:compute:Instance
properties:
flavorName: s1-2
imageName: Ubuntu 16.04
imageName: Ubuntu 22.04

outputs:
# Export the IP of the instance
Expand Down

0 comments on commit e7d1632

Please sign in to comment.