Skip to content

Commit 07ea488

Browse files
committed
Rebuilding runner
1 parent 62831fd commit 07ea488

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
|------|---------|
1313
| <a name="provider_libvirt"></a> [libvirt](#provider\_libvirt) | 0.7.6 |
1414
| <a name="provider_sops"></a> [sops](#provider\_sops) | n/a |
15+
| <a name="provider_ssh"></a> [ssh](#provider\_ssh) | n/a |
1516

1617
## Modules
1718

@@ -21,8 +22,11 @@ No modules.
2122

2223
| Name | Type |
2324
|------|------|
25+
| [libvirt_domain.runner](https://registry.terraform.io/providers/dmacvicar/libvirt/0.7.6/docs/resources/domain) | resource |
2426
| [libvirt_domain.template-server](https://registry.terraform.io/providers/dmacvicar/libvirt/0.7.6/docs/resources/domain) | resource |
27+
| [libvirt_volume.runner](https://registry.terraform.io/providers/dmacvicar/libvirt/0.7.6/docs/resources/volume) | resource |
2528
| [libvirt_volume.template-server](https://registry.terraform.io/providers/dmacvicar/libvirt/0.7.6/docs/resources/volume) | resource |
29+
| [ssh_resource.runner](https://registry.terraform.io/providers/loafoe/ssh/latest/docs/resources/resource) | resource |
2630
| [sops_file.secret_vars](https://registry.terraform.io/providers/carlpett/sops/latest/docs/data-sources/file) | data source |
2731

2832
## Inputs

runner.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*resource "libvirt_volume" "runner" {
1+
resource "libvirt_volume" "runner" {
22
name = "runner.qcow2"
33
base_volume_id = libvirt_volume.template-server.id
44
}
@@ -29,6 +29,7 @@ resource "libvirt_domain" "runner" {
2929
boot_device {
3030
dev = ["cdrom", "hd"]
3131
}
32+
type = "kvm"
3233
depends_on = [libvirt_volume.runner]
3334
}
3435

@@ -54,7 +55,6 @@ resource "ssh_resource" "runner" {
5455
"sudo nmcli con mod ens4 ipv4.addresses ${data.sops_file.secret_vars.data["runner_ip_addr"]}",
5556
"sudo reboot"
5657
]
57-
type = "kvm"
5858
depends_on = [libvirt_domain.runner]
59-
}*/
59+
}
6060

0 commit comments

Comments
 (0)