Further improvement to disk name displayed in the pre-Subiquity dialog

This commit is contained in:
Saverio Miroddi 2021-07-06 15:29:03 +02:00
parent 5f2bad8971
commit 032876a00c
1 changed files with 4 additions and 1 deletions

View File

@ -1090,6 +1090,9 @@ function install_operating_system_UbuntuServer {
# Subiquity is designed to prevent the user from opening a terminal, which is (to say the least) # Subiquity is designed to prevent the user from opening a terminal, which is (to say the least)
# incongruent with the audience. # incongruent with the audience.
local selected_disk_subiquity_name
selected_disk_subiquity_name=$(lsblk -o model,serial -d -n "${v_selected_disks[0]}" | awk '{ print $1 "_" $2 }')
local dialog_message='You'\''ll now need to run the Ubuntu Server installer (Subiquity). local dialog_message='You'\''ll now need to run the Ubuntu Server installer (Subiquity).
Switch back to the original terminal (Ctrl+Alt+F1), then proceed with the configuration as usual. Switch back to the original terminal (Ctrl+Alt+F1), then proceed with the configuration as usual.
@ -1099,7 +1102,7 @@ When the update option is presented, choose to update Subiquity to the latest ve
At the partitioning stage: At the partitioning stage:
- select `Custom storage layout` -> `Done` - select `Custom storage layout` -> `Done`
- select `'"${v_selected_disks[0]}"'/partition 4` -> `Edit` - select `'"$selected_disk_subiquity_name"'`/`partition 4` -> `Edit`
- set `Format:` to `ext4` (mountpoint will be automatically selected) - set `Format:` to `ext4` (mountpoint will be automatically selected)
- click `Save` - click `Save`
- click `Done` -> `Continue` (ignore warning) - click `Done` -> `Continue` (ignore warning)