Sample Header Ad - 728x90

Automate Alpine Linux installation

4 votes
2 answers
4616 views
I am trying to achieve unattended Alpine Linux installation. I went through the Alpine automatic installation guide but many manual interventions are still needed during the installation! For example providing the root user name, creating the answer file (setup-alpine -c answerfileName), editing the answer file, calling the actual installation command (setup-alpine -f answerfileName) and resetting the root password. Is there any way to include the answer file inside the ISO image, select the root user by default before starting the installation and set its password after the installation is done. In CentOS we can provide kickstart file in isolinux.cfg: label MyMENU2 menu label ^Deploy Manager Node kernel vmlinuz append initrd=initrd.img inst.stage2=hd:LABEL=MYISO inst.ks=hd:LABEL=MYISO:/ks/ks1.cfg quiet Is there something similar in Alpine Linux ?
Asked by k.elgohary (41 rep)
Feb 7, 2022, 05:18 PM
Last activity: Feb 24, 2025, 03:46 AM