Private/RedHat/Set-UnattendedKickstartComputerName.ps1

function Set-UnattendedKickstartComputerName
{
    param (
        [Parameter(Mandatory = $true)]
        [string]$ComputerName
    )

    $script:un +=  "network --hostname=$ComputerName"
}