Open smira opened 2 years ago
Kernel arguments should be overridable on the Server
and ServerClass
levels.
ex:
kind: Server # ServerClass
spec:
bootArgumentsRefs: # if specified, `BootArguments` are not looked up at all, and this is the explicit list
- name: myfunnyconsole
List of bootArgumentsRefs
is combined from ServerClass
, then Server
, if not empty, BootArguments
are not looked up.
See #837 on preserving boot arguments on Talos boot from disk.
Having default arguments and qualifiers for the most common cases:
BootArguments
describes boot environment based on MAC address and architectures.BootArguments
BootArgumentsQualifiers
These should be applied to the agent environment as well.
On PXE booting a node, Sidero finds all
BootArguments
which matches the node, sorts them by (weight
,name
) and merges them all together. The base arguments are coming from the default agent boot args (if it's an agent boot) or from the Environment (if bootingServer
).