Skip to content

Commit

Permalink
Increase size to 10GB for Leap 15.0 or later in virtualized environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
belphegor-belbel committed Mar 2, 2018
1 parent 374388d commit 177374a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions openSUSE_installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,15 @@ Function "ShowVirtualMachineSettings"
WriteIniStr ${VIRTSET_INI} "Field 6" "State" "$diskVM"
${Else}
WriteIniStr ${VIRTSET_INI} "Field 6" "State" "8192"

; Increase to 10GB for Leap 15.0 or later
StrCpy $0 $distribution 14
${If} $0 == "openSUSE Leap "
StrCpy $R3 $distribution 255 14
${If} $R3 < 42
WriteIniStr ${VIRTSET_INI} "Field 6" "State" "10240"
${EndIf}
${EndIf}
${EndIf}

${If} $environment == $(STRING_ENVIRONMENTSELECTITEM_HYPERV)
Expand Down

0 comments on commit 177374a

Please sign in to comment.