Skip to content

Commit

Permalink
Fixes typos
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpilotti committed Oct 31, 2013
1 parent 028f3e7 commit 05b03fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Autounattend.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@
<!-- Use FirstLogonCommands instead of LogonCommands if you don't need to install Windows Updates -->
<LogonCommands>
<AsynchronousCommand wcm:action="add">
<CommandLine>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\Logon.sp1</CommandLine>
<CommandLine>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\Logon.ps1</CommandLine>
<Order>1</Order>
</AsynchronousCommand>
</LogonCommands>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\FirstLogon.sp1</CommandLine>
<CommandLine>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\FirstLogon.ps1</CommandLine>
<Order>2</Order>
</SynchronousCommand>
</FirstLogonCommands>
Expand Down Expand Up @@ -169,14 +169,14 @@
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>powershell -NoLogo -Command "(new-object System.Net.WebClient).DownloadFile('https://raw.github.com/cloudbase/windows-openstack-imaging-tools/master/Specialize.sp1', 'c:\Windows\Temp\Specialize.sp1')"</Path>
<Path>powershell -NoLogo -Command "(new-object System.Net.WebClient).DownloadFile('https://raw.github.com/cloudbase/windows-openstack-imaging-tools/master/Specialize.ps1', 'c:\Windows\Temp\Specialize.ps1')"</Path>
<Description>Download Specialize script</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\Specialize.sp1</Path>
<Path>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\Specialize.ps1</Path>
<Description>Run Specialize script</Description>
</RunSynchronousCommand>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Expand Down
6 changes: 3 additions & 3 deletions Specialize.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $wallpaper = "Wallpaper-Cloudbase-2013.png"
$virtioscript = "InstallVirtIODrivers.js"
$gpoZipFile = "GPO.zip"

$resources = @("FirstLogon.sp1", "Logon.sp1", $virtioscript, $gpoZipFile, $wallpaper)
$resources = @("FirstLogon.ps1", "Logon.ps1", $virtioscript, $gpoZipFile, $wallpaper)

$temp = "$ENV:SystemRoot\Temp"
$baseUrl = "https://raw.github.com/cloudbase/windows-openstack-imaging-tools/master"
Expand All @@ -30,14 +30,14 @@ switch($virtPlatform)
}
"KVM"
{
$Host.UI.RawUI.WindowTitle = "Installing VirtIO drivers..."
$Host.UI.RawUI.WindowTitle = "Installing VirtIO drivers..."
& cscript $temp\$virtioscript "E:\Win8\AMD64\*.inf"
if (!$?) { throw "InstallVirtIO failed"}
del $temp\$virtioscript
}
}

$Host.UI.RawUI.WindowTitle = "Configuring GPOs..."
$Host.UI.RawUI.WindowTitle = "Configuring GPOs..."

# Put the wallpaper in place
$wallpaper_dir = "$ENV:SystemRoot\web\Wallpaper\Cloudbase"
Expand Down

0 comments on commit 05b03fa

Please sign in to comment.