參數

參數名字 描述
id
必填

Validations:

  • Must be a String

medium
必填

Validations:

  • Must be a Hash

medium[name]
選填

媒介名稱

Validations:

  • Must be a String

medium[path]
選填

The path to the medium, can be a URL or a valid NFS server (exclusive of the architecture).

for example mirror.centos.org/centos/$version/os/$arch where $arch will be substituted for the host's actual OS architecture and $version, $major and $minor will be substituted for the version of the operating system.

Solaris and Debian media may also use $release.

Validations:

  • Must be a String

medium[os_family]
選填 , 允許空值

作業系統家族,可用的值包含:AIX, Altlinux, Archlinux, Coreos, Debian, Freebsd, Gentoo, Junos, NXOS, Redhat, Solaris, Suse, Windows, Xenserver

Validations:

  • Must be a String

medium[operatingsystem_ids]
選填 , 允許空值

Validations:

  • Must be an array of any type

medium[location_ids]
選填 , 允許空值

將位置取代為特定 ID

Validations:

  • Must be an array of any type

medium[organization_ids]
選填 , 允許空值

將組織取代為特定 ID。

Validations:

  • Must be an array of any type