Created
October 13, 2016 06:51
-
-
Save moio/893989f6209ae2c4106c59e61a481f49 to your computer and use it in GitHub Desktop.
terraform-provider-libvirt main.tf to create a NAT network
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "libvirt" { | |
uri = "qemu:///system" | |
} | |
resource "libvirt_network" "network" { | |
name = "mynetwork" | |
mode = "nat" | |
domain = "whatever.local" | |
addresses = ["192.168.127.0/24"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment