Skip to content

Commit 219512a

Browse files
Add Ubuntu 22.04 TLS
1 parent affb321 commit 219512a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Terraform module for KVM/Libvirt Virtual Machine. This module will create a KVM Virtual Machine(s), configure it using Cloud Init and test the ssh connection. This module is using [dmacvicar/libvirt](https://github.com/dmacvicar/terraform-provider-libvirt) Terraform provider.
88

9-
## What this module provides
9+
## What it provides
1010

1111
- creates one or more VMs
1212
- one NIC per domain, connected to the network using the **bridge interface**
@@ -17,7 +17,8 @@ Terraform module for KVM/Libvirt Virtual Machine. This module will create a KVM
1717

1818
## Tested on
1919

20-
- Ubuntu 20.04 TLS
20+
- Ubuntu 20.04 TLS Cloud Image
21+
- Ubuntu 22.04 TLS Cloud Image
2122

2223
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
2324
## Requirements
@@ -58,7 +59,7 @@ No modules.
5859
| <a name="input_local_admin"></a> [local\_admin](#input\_local\_admin) | Admin user without ssh access | `string` | `""` | no |
5960
| <a name="input_local_admin_passwd"></a> [local\_admin\_passwd](#input\_local\_admin\_passwd) | Local admin user password | `string` | `"password_example"` | no |
6061
| <a name="input_memory"></a> [memory](#input\_memory) | RAM in MB | `string` | `"1024"` | no |
61-
| <a name="input_os_img_url"></a> [os\_img\_url](#input\_os\_img\_url) | URL to the OS image | `string` | `"https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"` | no |
62+
| <a name="input_os_img_url"></a> [os\_img\_url](#input\_os\_img\_url) | URL to the OS image | `string` | `"https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"` | no |
6263
| <a name="input_pool"></a> [pool](#input\_pool) | Storage pool name | `string` | `"default"` | no |
6364
| <a name="input_runcmd"></a> [runcmd](#input\_runcmd) | Extra commands to be run with cloud init | `list(string)` | <pre>[<br> "[ systemctl, daemon-reload ]",<br> "[ systemctl, enable, qemu-guest-agent ]",<br> "[ systemctl, start, qemu-guest-agent ]",<br> "[ systemctl, restart, systemd-networkd ]"<br>]</pre> | no |
6465
| <a name="input_share_filesystem"></a> [share\_filesystem](#input\_share\_filesystem) | n/a | <pre>object({<br> source = string<br> target = string<br> readonly = bool<br> mode = string<br> })</pre> | <pre>{<br> "mode": null,<br> "readonly": false,<br> "source": null,<br> "target": null<br>}</pre> | no |

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
variable "os_img_url" {
22
description = "URL to the OS image"
33
type = string
4-
default = "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
4+
default = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
55
}
66

77
variable "base_volume_name" {

0 commit comments

Comments
 (0)