Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Bob Tanner
packer-windows
Commits
4c390dbc
Commit
4c390dbc
authored
Dec 31, 2017
by
Patrick Lang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing autounattend
parent
399cd2ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
answer_files/server_insider_uefi/Autounattend.xml
answer_files/server_insider_uefi/Autounattend.xml
+4
-4
windows_server_insider.json
windows_server_insider.json
+2
-3
No files found.
answer_files/server_insider_uefi/Autounattend.xml
View file @
4c390dbc
...
...
@@ -111,7 +111,7 @@
<RequiresUserInput>
true
</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand
wcm:action=
"add"
>
<CommandLine>
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File
a
:\disable-winrm.ps1
</CommandLine>
<CommandLine>
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File
e
:\disable-winrm.ps1
</CommandLine>
<Description>
Disable WinRM
</Description>
<Order>
3
</Order>
<RequiresUserInput>
true
</RequiresUserInput>
...
...
@@ -161,18 +161,18 @@
<!-- WITH WINDOWS UPDATES -->
<!--
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c
a
:\microsoft-updates.bat</CommandLine>
<CommandLine>cmd.exe /c
e
:\microsoft-updates.bat</CommandLine>
<Order>98</Order>
<Description>Enable Microsoft Updates</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File
a
:\disable-screensaver.ps1</CommandLine>
<CommandLine>cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File
e
:\disable-screensaver.ps1</CommandLine>
<Description>Disable Screensaver</Description>
<Order>99</Order>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File
a
:\win-updates.ps1</CommandLine>
<CommandLine>cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File
e
:\win-updates.ps1</CommandLine>
<Description>Install Windows Updates</Description>
<Order>100</Order>
<RequiresUserInput>true</RequiresUserInput>
...
...
windows_server_insider.json
View file @
4c390dbc
...
...
@@ -2,9 +2,9 @@
"builders"
:
[
{
"boot_command"
:
[
"<enter>
<enter>
"
"<enter>"
],
"boot_wait"
:
"
2
s"
,
"boot_wait"
:
"
1
s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
...
...
@@ -124,7 +124,6 @@
"execute_command"
:
"{{ .Vars }} cmd /c
\"
{{ .Path }}
\"
"
,
"scripts"
:
[
"./scripts/set-winrm-automatic.bat"
,
"./scripts/compile-dotnet-assemblies.bat"
,
"./scripts/uac-enable.bat"
,
"./scripts/compact.bat"
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment