Closed tomastzn closed 2 years ago
This was an issue with apk.static having hardcoded paths for where to find a ca.pem file (for HTTPS use) which only worked on Alpine machines. I had already encountered this issue and developed a workaround - it has now been committed.
Regarding the options you are using with the script:
--add-packages open-vm-tools
You don't need to specify this as when you specify "--virtual vmware" this will add the open-vm-tool packages and enable the init.d script for it, as can be seen here:
https://github.com/dermotbradley/create-alpine-disk-image/blob/main/lib/vm-functions#L284
and
https://github.com/dermotbradley/create-alpine-disk-image/blob/main/lib/services-functions#L1060
--ntp-use-host
This option is not yet functional - changes are required in Alpine's (and upstream's) eudev rules and also code changes in cloud-init itself which I am working on. I will shortly be submitting these changes to both upstream and to the Alpine packages.
Thank you, I will give it another test in coming days.
Running the generated script does not produce any error, ends rather quickly (within few seconds), and the log shows that SSL validation failed with permission denied. Below are the parameters used to generate the script:
And below is the log: