Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

common: always set log level to debug when we install #570

Merged
merged 1 commit into from
Nov 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions package/harvester-os/files/usr/sbin/harv-install
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ ISOMNT=/run/initramfs/live
TARGET=/run/cos/target
DATA_DISK_FSLABEL="HARV_LH_DEFAULT"

# Update environment variables
export QUIET=${HARVESTER_SILENT:+"--quiet"}
export DEBUG=${HARVESTER_DEBUG:+"--debug"}

clear_disk_label()
{
# Clear the label of partitions that has $DATA_DISK_FSLABEL to prevent misidentification
Expand Down Expand Up @@ -442,7 +438,7 @@ blkdeactivate --lvmoptions wholevg,retry --dmoptions force,retry --errors || tru
clear_disk_label

# Run elemental installer but do not let it fetch ISO and do not shutdown
elemental install --config-dir ${ELEMENTAL_CONFIG_DIR} ${QUIET} ${DEBUG}
elemental install --config-dir ${ELEMENTAL_CONFIG_DIR} --debug

# Format the data disk if needed
do_data_disk_format
Expand Down