foreman_media¶
Remote installation media.
Example Usage¶
# Autogenerated example with required keys
data "foreman_media" "example" {
name = "Debian mirror"
}
Argument Reference¶
The following arguments are supported:
name- (Required) Name of the media.
Attributes Reference¶
The following attributes are exported:
name- Name of the media.operatingsystem_ids- IDs of the operating systems associated with this media.os_family- Operating system family. Values include:"AIX","Altlinux","Archlinux","Coreos","Debian","Freebsd","Gentoo","Junos","NXOS","Redhat","Solaris","Suse","Windows".path- The path to the medium, can be a URL or a valid NFS server (exclusive of the architecture). For example:
http://mirror.centos.org/centos/$version/os/$arch
Where $arch will be substituted for the host's actual OS architecture and $version, $major, $minor will be substituted for the version of the operating system.
Solaris and Debian media may also use $release.