diff --git a/package/harvester-os/files/usr/sbin/harv-install b/package/harvester-os/files/usr/sbin/harv-install index bf66354b4..fc566fa37 100755 --- a/package/harvester-os/files/usr/sbin/harv-install +++ b/package/harvester-os/files/usr/sbin/harv-install @@ -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 @@ -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