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
1b90dbe4
Commit
1b90dbe4
authored
Nov 26, 2015
by
Stefan Scherer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove qfe patch, remove winrm startuptype change
parent
12bb9003
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
scripts/install-docker.ps1
scripts/install-docker.ps1
+1
-7
No files found.
scripts/install-docker.ps1
View file @
1b90dbe4
Set-Service
winrm
-startuptype
"auto"
# https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/inplace_setup
wget
-uri
https://aka.ms/tp4/Install-ContainerHost
-OutFile
C:\Install-ContainerHost-1.ps1
# patch the install script, see https://github.com/Microsoft/Virtualization-Documentation/pull/90
cat
C:\Install-ContainerHost-1.ps1
|
%
{
$_
-replace
'qfe ='
,
'qfe = 0 #'
}
|
Set-Content
C:\Install-ContainerHost.ps1
# create a Task Scheduler task which is also able to run in battery mode due
# to host notebooks working in battery mode. This complicates the whole script
# from a one liner to a fat XML - good heaven.
# to host notebooks working in battery mode.
function
Run-Interactive
{
param
(
[
string
]
$commandline
)
...
...
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