Closed jorddenn closed 1 year ago
Hi. I just updated the script to fix the missing "}" issue.
The certificate issue was not the same as #16 as that affecting running the script on non Alpine hosts. The problem you saw I believe is that you ran the script on Alpine Edge which recently switched various packages from OpenSSL 1.1.x to 3.x - the static apk-tools binary (which was linked against OpenSSL 1.1.x) was being used on Alpine hosts as well as non-Alpine hosts when it shouldn't have been - I've now changed the script to only download that on non-Alpine hosts.
Can you retest and let me know if the problem is resolved?
Looks awesome, no missing bracket and no need to force a mirror
Running
./create-alpine-disk-image --boottype uefi --release 3.16 --optimise --cpu-vendor amd --harden --ipv4only --virtual proxmox --script-filename test.sh --mirror http://dl-cdn.alpinelinux.org/alpine
the test.sh is missing the closing '}' for the "Delete unnecessary users and groups" section. Adding the '--debug' flag properly closes the brackets. After adding the closing bracket the script competes.
I was originally using debug because I was getting the following, hence the mirror to the HTTP URL. Same as #16 ?
Running on an Alpine VM in Proxmox (Virtual ISO).