Some steps have no effect with alpine images
The problem is that some steps are done while the machine is not booted on its final image, thus modifications are done on a tmpfs... Some of these steps are in the pkr file, some others are in install.sh. Solution: split the install.sh script and handle the reboot in the main.pkr.hcl file.
Edited by Laurent Gourvénec