mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
Update default disk size to 50GB in FFU scripts and UI
- Changed the default disk size parameter from 30GB to 50GB in BuildFFUVM.ps1 and FFUUI.Core.psm1 to accommodate larger virtual machines. - Updated tooltip and default value in the UI XAML file to reflect the new disk size.
This commit is contained in:
@@ -70,7 +70,7 @@ When set to $true, this will create WinPE deployment media for use when deployin
|
|||||||
Sets a custom FFU output name with placeholders. Allowed placeholders are: {WindowsRelease}, {WindowsVersion}, {SKU}, {BuildDate}, {yyyy}, {MM}, {dd}, {H}, {hh}, {mm}, {tt}.
|
Sets a custom FFU output name with placeholders. Allowed placeholders are: {WindowsRelease}, {WindowsVersion}, {SKU}, {BuildDate}, {yyyy}, {MM}, {dd}, {H}, {hh}, {mm}, {tt}.
|
||||||
|
|
||||||
.PARAMETER Disksize
|
.PARAMETER Disksize
|
||||||
Size of the virtual hard disk for the virtual machine. Default is a 30GB dynamic disk.
|
Size of the virtual hard disk for the virtual machine. Default is a 50GB dynamic disk.
|
||||||
|
|
||||||
.PARAMETER DriversFolder
|
.PARAMETER DriversFolder
|
||||||
Path to the drivers folder. Default is $FFUDevelopmentPath\Drivers.
|
Path to the drivers folder. Default is $FFUDevelopmentPath\Drivers.
|
||||||
@@ -304,7 +304,7 @@ param(
|
|||||||
[string]$Model,
|
[string]$Model,
|
||||||
[bool]$InstallDrivers,
|
[bool]$InstallDrivers,
|
||||||
[uint64]$Memory = 4GB,
|
[uint64]$Memory = 4GB,
|
||||||
[uint64]$Disksize = 30GB,
|
[uint64]$Disksize = 50GB,
|
||||||
[int]$Processors = 4,
|
[int]$Processors = 4,
|
||||||
[string]$VMSwitchName,
|
[string]$VMSwitchName,
|
||||||
[string]$VMLocation,
|
[string]$VMLocation,
|
||||||
@@ -2339,7 +2339,7 @@ function New-ScratchVhdx {
|
|||||||
param(
|
param(
|
||||||
[Parameter(Mandatory = $true)]
|
[Parameter(Mandatory = $true)]
|
||||||
[string]$VhdxPath,
|
[string]$VhdxPath,
|
||||||
[uint64]$SizeBytes = 30GB,
|
[uint64]$SizeBytes = 50GB,
|
||||||
[uint32]$LogicalSectorSizeBytes,
|
[uint32]$LogicalSectorSizeBytes,
|
||||||
[switch]$Dynamic,
|
[switch]$Dynamic,
|
||||||
[Microsoft.PowerShell.Cmdletization.GeneratedTypes.Disk.PartitionStyle]$PartitionStyle = [Microsoft.PowerShell.Cmdletization.GeneratedTypes.Disk.PartitionStyle]::GPT
|
[Microsoft.PowerShell.Cmdletization.GeneratedTypes.Disk.PartitionStyle]$PartitionStyle = [Microsoft.PowerShell.Cmdletization.GeneratedTypes.Disk.PartitionStyle]::GPT
|
||||||
|
|||||||
@@ -115,9 +115,9 @@
|
|||||||
<TextBox x:Name="txtVMHostIPAddress" Grid.Row="2" Grid.Column="1" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Stretch"/>
|
<TextBox x:Name="txtVMHostIPAddress" Grid.Row="2" Grid.Column="1" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Stretch"/>
|
||||||
<!-- Row 3: Disk Size (GB) -->
|
<!-- Row 3: Disk Size (GB) -->
|
||||||
<StackPanel Grid.Row="3" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" Margin="0,5">
|
<StackPanel Grid.Row="3" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" Margin="0,5">
|
||||||
<TextBlock Text="Disk Size (GB)" ToolTip="Size of the virtual hard disk for the virtual machine. Default is a 30GB dynamic disk."/>
|
<TextBlock Text="Disk Size (GB)" ToolTip="Size of the virtual hard disk for the virtual machine. Default is a 50GB dynamic disk."/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<TextBox x:Name="txtDiskSize" Grid.Row="3" Grid.Column="1" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Stretch" Text="30" ToolTip="Size of the virtual hard disk for the virtual machine. Default is a 30GB dynamic disk."/>
|
<TextBox x:Name="txtDiskSize" Grid.Row="3" Grid.Column="1" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Stretch" Text="50" ToolTip="Size of the virtual hard disk for the virtual machine. Default is a 50GB dynamic disk."/>
|
||||||
<!-- Row 4: Memory (GB) -->
|
<!-- Row 4: Memory (GB) -->
|
||||||
<StackPanel Grid.Row="4" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" Margin="0,5">
|
<StackPanel Grid.Row="4" Grid.Column="0" Orientation="Horizontal" VerticalAlignment="Center" Margin="0,5">
|
||||||
<TextBlock Text="Memory (GB)" ToolTip="Amount of memory to allocate for the virtual machine. Recommended to use 8GB if possible, especially for Windows 11. Default is 4GB."/>
|
<TextBlock Text="Memory (GB)" ToolTip="Amount of memory to allocate for the virtual machine. Recommended to use 8GB if possible, especially for Windows 11. Default is 4GB."/>
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ function Get-GeneralDefaults {
|
|||||||
RemoveUpdates = $false
|
RemoveUpdates = $false
|
||||||
# Hyper-V Settings Defaults
|
# Hyper-V Settings Defaults
|
||||||
VMHostIPAddress = ""
|
VMHostIPAddress = ""
|
||||||
DiskSizeGB = 30
|
DiskSizeGB = 50
|
||||||
MemoryGB = 4
|
MemoryGB = 4
|
||||||
Processors = 4
|
Processors = 4
|
||||||
VMLocation = $vmLocationPath
|
VMLocation = $vmLocationPath
|
||||||
|
|||||||
Reference in New Issue
Block a user