Canonical Bootstack Sysconfig
- By Legacy - Canonical WTFB
- Monitoring
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 9 | 18 Mar 2021 |
juju deploy canonical-bootstack-sysconfig
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
-
config-flags | string
If extra lines need to be configured on /etc/default/grub (isolcpus) or /etc/systemd/system.conf (affinity), this string can be used as a list in yaml format. Sample: {'grub': 'key1=value1, key2=value2', 'systemd': 'key1=value1'} [DEPRECATED]: this option should no longer be used. Instead grub-config-flags and systemd-config-flags should be used.
-
cpu-range | string
Single pcpus (0,1,2) or range of pcpus (0-10) to isolate (if isolcpus is selected) or reserve (if affinity is selected). Default value (empty) will make "reservation" work as if it was "off".
-
enable-container | boolean
Enable support for containers. For testing purpose only.
-
enable-iommu | boolean
If true and VT-d enabled in the BIOS, it will allow to use direct I/O bypassing DMA translation with pci-passthrough devices. Enable it to use SR-IOV
-
enable-pti | boolean
Allow enabling/disabling page table isolation, adding pti=off to grub cmdline
-
extra_packages | string
Space separated list of extra deb packages to install.
-
governor | string
Configured via cpufrequtils, possible values are: - '' (default): systemd will choose the first available between 'ondemand', 'powersave', 'performance'. Recommended option when Bios control power is set to the OS. - 'performance' - 'powersave'
-
grub-config-flags | string
If extra lines need to be configured on /etc/default/grub this string can be used as a list of key/value pairs 'key1=value1,key2=value2'
-
hugepages | string
Number of hugepages. Example: 400
-
hugepagesz | string
Size of each hugepage. Example: 1G
-
install_keys | string
List of signing keys for install_sources package sources, per charmhelpers standard format (a yaml list of strings encoded as a string). The keys should be the full ASCII armoured GPG public keys. While GPG key ids are also supported and looked up on a keyserver, operators should be aware that this mechanism is insecure. null can be used if a standard package signing key is used that will already be installed on the machine, and for PPA sources where the package signing key is securely retrieved from Launchpad.
-
install_sources | string
List of extra apt sources, per charm-helpers standard format (a yaml list of strings encoded as a string). Each source may be either a line that can be added directly to sources.list(5), or in the form ppa:<user>/<ppa-name> for adding Personal Package Archives, or a distribution component to enable.
-
kernel-version | string
Upgrade kernel and modules-extra package to this version and add GRUB_DEFAULT to /etc/default/grub to load the required kernel version. Does nothing if same kernel already running.
-
package_status | string
Default: install
The status of service-affecting packages will be set to this value in the dpkg database. Valid values are "install" and "hold".
-
raid-autodetection | string
Configure raid detection. Possible value are - '': (default) autodetection enabled if md module is compiled into the kernel - 'noautodetect': autodetection is disabled - 'partitionable': all auto-detected arrays are assembled as partitionable
-
reservation | string
Default: off
Type of CPU reservation: isolcpus, affinity, off isolcpus is a kernel cmdline paremeter affinity (CPU Affinity) is a systemd configuration parameter. Other processes inherit from systemd-system.conf off (default) disables any CPU reservation on host-side.
-
systemd-config-flags | string
If extra lines need to be configured on /etc/systemd/system.conf this string can be used as a list of key/value pairs 'key1=value1,key2=value2'
-
update-grub | boolean
Allows the charm to run "update-grub" command if /etc/default/grub was changed. This is discouraged and by default it is disabled.