add pkg "hdparm" to be installed on image and used in image creation script
This commit is contained in:
parent
817821a274
commit
655dbbbc64
@ -6,7 +6,7 @@ TODAY="$(TZ='UTC' date +%Y.%m.%d)"
|
|||||||
KICKSTART_FILE="${KICKSTART_BASE}.ks"
|
KICKSTART_FILE="${KICKSTART_BASE}.ks"
|
||||||
APPLIANCE_NAME="${KICKSTART_BASE}-$(dnf config-manager --dump-variables | grep releasever | awk '{print $3}')-$(uname -m)-minimal-${TODAY}"
|
APPLIANCE_NAME="${KICKSTART_BASE}-$(dnf config-manager --dump-variables | grep releasever | awk '{print $3}')-$(uname -m)-minimal-${TODAY}"
|
||||||
IMAGE_NAME="${APPLIANCE_NAME}.raw"
|
IMAGE_NAME="${APPLIANCE_NAME}.raw"
|
||||||
COMMANDS_TO_CHECK=('appliance-creator' 'shasum' 'zstd')
|
COMMANDS_TO_CHECK=('appliance-creator' 'hdparm' 'shasum' 'zstd')
|
||||||
|
|
||||||
for COMMAND in "${COMMANDS_TO_CHECK[@]}"; do
|
for COMMAND in "${COMMANDS_TO_CHECK[@]}"; do
|
||||||
if ! command -v "${COMMAND}" > /dev/null; then
|
if ! command -v "${COMMAND}" > /dev/null; then
|
||||||
|
@ -54,6 +54,7 @@ btop
|
|||||||
dash
|
dash
|
||||||
epel-release
|
epel-release
|
||||||
gzip
|
gzip
|
||||||
|
hdparm
|
||||||
htop
|
htop
|
||||||
mock
|
mock
|
||||||
neovim
|
neovim
|
||||||
|
Loading…
Reference in New Issue
Block a user