diff options
| author | jerome <jerome@xlinfo.fr> | 2025-08-18 11:22:14 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2025-08-18 11:22:14 +0200 |
| commit | 4293df73e636a3bb9097d4cbe80ae8c194862f6b (patch) | |
| tree | c7cbf89deac7fcbc85850938b7c926778999c9bc /final/rocky.tf | |
| download | incus-4293df73e636a3bb9097d4cbe80ae8c194862f6b.tar.gz incus-4293df73e636a3bb9097d4cbe80ae8c194862f6b.zip | |
commit initial
Diffstat (limited to 'final/rocky.tf')
| -rw-r--r-- | final/rocky.tf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/final/rocky.tf b/final/rocky.tf new file mode 100644 index 0000000..a608e42 --- /dev/null +++ b/final/rocky.tf @@ -0,0 +1,15 @@ +resource "incus_instance" "rocky" { + name = "webserver2" + project = "lamp" + image = "images:rockylinux/9/cloud" + wait_for { + type = "ipv4" + } + provisioner "local-exec" { + command = "./local_script ${self.ipv4_address} ${self.name}" + } + depends_on = [ + incus_profile.lamp + ] +} + |
