mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Vars refactor: Simplify initialisation of disk
This commit is contained in:
parent
01fbc2bbef
commit
84efcf2bf3
1 changed files with 1 additions and 5 deletions
6
quickemu
6
quickemu
|
@ -130,10 +130,6 @@ function vm_boot() {
|
||||||
esac
|
esac
|
||||||
echo " - Guest: ${guest_os^} optimised."
|
echo " - Guest: ${guest_os^} optimised."
|
||||||
|
|
||||||
if [ -z "${disk}" ]; then
|
|
||||||
disk="64G"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo " - Disk: ${disk_img} (${disk})"
|
echo " - Disk: ${disk_img} (${disk})"
|
||||||
if [ ! -f "${disk_img}" ]; then
|
if [ ! -f "${disk_img}" ]; then
|
||||||
# If there is no disk image, create a new image.
|
# If there is no disk image, create a new image.
|
||||||
|
@ -310,7 +306,7 @@ guest_os="linux"
|
||||||
iso=""
|
iso=""
|
||||||
driver_iso=""
|
driver_iso=""
|
||||||
disk_img=""
|
disk_img=""
|
||||||
disk=""
|
disk="64G"
|
||||||
|
|
||||||
DELETE=0
|
DELETE=0
|
||||||
ENABLE_EFI=0
|
ENABLE_EFI=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue