Specifying common variables across multiple boot menu entries
The zipl environment feature is useful in the case of multiple boot menu entries.
Procedure
Results
COMMON
keyword: # zipl-editenv --list
...
COMMON=nosmt
IPL any boot configuration that uses a command line with the
${COMMON}
variable, and display the actual command
line:
# cat /proc/cmdline
... nosmt ...
To not have nosmt set, first ensure that the environment
file does not define the COMMON variable, or defines it as an empty
string:
# cat /etc/ziplenv
COMMON=
Then install the boot record. However, if you do not
want to re-install the boot record, you can either set the COMMON variable to the empty string in
the already installed zipl environment
block:
# zipl-editenv -s COMMON=
# zipl-editenv -l
COMMON=
Or remove it from the zipl environment
block:
# zipl-editenv -u COMMON
# zipl-editenv -l