Merge pull request #202 from saveriomiroddi/fix_ubuntu_server_target_missing
Ubuntu Server: Create `/target` if missing
This commit is contained in:
commit
692b0bd2fa
@ -1118,6 +1118,12 @@ You can switch anytime to this terminal, and back, in order to read the instruct
|
||||
# Server, but it's better not to take risks.
|
||||
#
|
||||
if ! mountpoint -q "$c_installed_os_mount_dir"; then
|
||||
# There must be a conspiracy 🙄 `/target` used to be created before [20.04.2].
|
||||
#
|
||||
if [[ ! -d $c_installed_os_mount_dir ]]; then
|
||||
mkdir "$c_installed_os_mount_dir"
|
||||
fi
|
||||
|
||||
mount "${v_temp_volume_device}p2" "$c_installed_os_mount_dir"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user