Closed ksalman closed 6 years ago
Hello, The custom scripts are written to CustomResources directory https://github.com/cloudbase/windows-openstack-imaging-tools/blob/master/WinImageBuilder.psm1#L391, however the Logon.ps1 script is looking for those scripts in a different directory https://github.com/cloudbase/windows-openstack-imaging-tools/blob/master/UnattendResources/Logon.ps1#L4
The custom scripts folder is correctly copied a few lines below: https://github.com/cloudbase/windows-openstack-imaging-tools/blob/master/WinImageBuilder.psm1#L398
Oh I see, you are right. I had mistakenly only seen the custom_resources_path
variable and had put my scripts there, incorrectly.
Use the directory where files were initially copied.