Skip to content

Commit 05b03fa

Browse files
committed
Fixes typos
1 parent 028f3e7 commit 05b03fa

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Autounattend.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@
102102
<!-- Use FirstLogonCommands instead of LogonCommands if you don't need to install Windows Updates -->
103103
<LogonCommands>
104104
<AsynchronousCommand wcm:action="add">
105-
<CommandLine>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\Logon.sp1</CommandLine>
105+
<CommandLine>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\Logon.ps1</CommandLine>
106106
<Order>1</Order>
107107
</AsynchronousCommand>
108108
</LogonCommands>
109109
<FirstLogonCommands>
110110
<SynchronousCommand wcm:action="add">
111-
<CommandLine>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\FirstLogon.sp1</CommandLine>
111+
<CommandLine>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\FirstLogon.ps1</CommandLine>
112112
<Order>2</Order>
113113
</SynchronousCommand>
114114
</FirstLogonCommands>
@@ -169,14 +169,14 @@
169169
<RunSynchronous>
170170
<RunSynchronousCommand wcm:action="add">
171171
<Order>1</Order>
172-
<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>
172+
<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>
173173
<Description>Download Specialize script</Description>
174174
</RunSynchronousCommand>
175175
<RunSynchronousCommand wcm:action="add">
176176
<Order>2</Order>
177-
<Path>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\Specialize.sp1</Path>
177+
<Path>powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\Specialize.ps1</Path>
178178
<Description>Run Specialize script</Description>
179-
</RunSynchronousCommand>
179+
</RunSynchronousCommand>
180180
</RunSynchronous>
181181
</component>
182182
<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">

Specialize.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $wallpaper = "Wallpaper-Cloudbase-2013.png"
44
$virtioscript = "InstallVirtIODrivers.js"
55
$gpoZipFile = "GPO.zip"
66

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

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

40-
$Host.UI.RawUI.WindowTitle = "Configuring GPOs..."
40+
$Host.UI.RawUI.WindowTitle = "Configuring GPOs..."
4141

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

0 commit comments

Comments
 (0)