diff --git a/bootstrap.ps1 b/bootstrap.ps1 index d9480ce..f596391 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -13,6 +13,11 @@ function Install-Cygwin { } } +function Create-RootDirectory { + # Our bootstrapping scripts rely on /root existing in a bash shell. + New-Item C:\cygwin\root -Type Directory | Out-Null +} + function Register-Sshd { Add-Type -Assembly System.Web $password = [Web.Security.Membership]::GeneratePassword(16, 4) @@ -22,4 +27,5 @@ function Register-Sshd { } Install-Cygwin +Create-RootDirectory Register-Sshd