FEATURES PRICING ABOUT DOCS LOGIN

cobbler_distro

Manages a distribution within Cobbler.

Example Usage

resource "cobbler_distro" "ubuntu-1404-x86_64" {
  name = "foo"
  breed = "ubuntu"
  os_version = "trusty"
  arch = "x86_64"
  kernel = "/var/www/cobbler/ks_mirror/Ubuntu-14.04/install/netboot/ubuntu-installer/amd64/linux"
  initrd = "/var/www/cobbler/ks_mirror/Ubuntu-14.04/install/netboot/ubuntu-installer/amd64/initrd.gz"
}

Argument Reference

The following arguments are supported:

Attributes Reference

All of the above Optional attributes are also exported.

Notes

The path to the kernel and initrd files must exist before creating a Distro. Usually this involves running cobbler import ... prior to creating the Distro.


See the source of this document at Terraform.io

REQUEST A DEMO