Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultIfName is the default interface name for libvirt.
DefaultIfName = "osbr0"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Libvirt ¶
type Libvirt struct { URI string `json:"tectonic_libvirt_uri,omitempty" yaml:"uri"` Image string `json:"tectonic_os_image,omitempty" yaml:"image"` Network `json:",inline" yaml:"network"` MasterIPs []string `json:"tectonic_libvirt_master_ips,omitempty" yaml:"masterIPs"` WorkerIPs []string `json:"tectonic_libvirt_worker_ips,omitempty" yaml:"workerIPs"` BootstrapIP string `json:"tectonic_libvirt_bootstrap_ip,omitempty" yaml:"bootstrapIP"` }
Libvirt encompasses configuration specific to libvirt.
func (*Libvirt) UseCachedImage ¶
UseCachedImage leaves non-file:// image URIs unalterered. Other URIs are retrieved with a local cache at $XDG_CACHE_HOME/openshift-install/libvirt 1. This allows you to use the same remote image URI multiple times without needing to worry about redundant downloads, although you will want to periodically blow away your cache.
type Network ¶
type Network struct { Name string `json:"tectonic_libvirt_network_name,omitempty" yaml:"name"` IfName string `json:"tectonic_libvirt_network_if,omitempty" yaml:"ifName"` IPRange string `json:"tectonic_libvirt_ip_range,omitempty" yaml:"ipRange"` }
Network describes a libvirt network configuration.
Click to show internal directories.
Click to hide internal directories.