Go to file
starkandwayne-bot 841654cf76 Updating CODE_OF_CONDUCT.md 2019-01-15 15:40:58 -05:00
tasks/create-vsphere-stemcell don't use hardcoded settings fix #2 2017-10-09 14:38:04 +02:00
.gitignore WIP initial commit 2017-08-10 14:22:31 +02:00
CODE_OF_CONDUCT.md Updating CODE_OF_CONDUCT.md 2019-01-15 15:40:58 -05:00
README.md init readme 2017-09-21 10:35:37 +02:00
pipeline.yml don't use hardcoded settings fix #2 2017-10-09 14:38:04 +02:00
repipe typo's and forgoten lines 2017-08-31 10:49:39 +02:00
settings.yml moved repo 2017-09-21 10:40:40 +02:00

README.md

create windows template

download windows 2012 trial iso and install it on your vsphere enviorment you need to enable winrm (you can use this power script https://raw.githubusercontent.com/cloudfoundry-incubator/bosh-windows-stemcell-builder/master/bosh-psmodules/modules/BOSH.WinRM/BOSH.WinRM.psm1)

or manually add a rule in our windows 2012 r2 base template to allow connections to 5985 WINRM outside its subnet

have also set winrm set winrm/config/service '@{AllowUnencrypted="true"}' winrm set winrm/config/service/auth '@{Basic="true"}' winrm set winrm/config/client/auth '@{Basic="true"}'

when done create a template of it now configure the pipeline.yml variables (or if you use vault use the settings.yml and repipe)

dependencies:

  • concourse worker with at least 200GB (this is due to downloading allot of unnecessary vsphere stuff)

ISSUES:

(not solved)

  • sometime ipv6 is used in winrm
2017/08/21 08:51:52 packer-builder-vsphere.linux: 2017/08/21 08:51:52 [INFO] Attempting WinRM connection...
2017/08/21 08:51:52 packer-builder-vsphere.linux: 2017/08/21 08:51:52 [DEBUG] connecting to remote shell using WinRM
2017/08/21 08:51:52 packer-builder-vsphere.linux: 2017/08/21 08:51:52 [ERROR] connection error: unknown error Post http://fe80::dd5b:1430:623d:c52b:5985/wsman: invalid URL port ":dd5b:1430:623d:c52b:5985"
2017/08/21 08:51:52 packer-builder-vsphere.linux: 2017/08/21 08:51:52 [ERROR] WinRM connection err: unknown error Post http://fe80::dd5b:1430:623d:c52b:5985/wsman: invalid URL port ":dd5b:1430:623d:c52b:5985"

(solved)

TODO: create docker images that does bundle install and adds all resources