Talk:Alpine setup scripts: Difference between revisions

From Alpine Linux
m (Unsigned comment)
No edit summary
Line 4: Line 4:
one during writing the root user name, another time when creating the answer file (setup-alpine -c answerfileName), editing the answer file, calling the actual installation command (setup-alpine -f answerfileName) and reset the root password. Is there any way to include the answer file inside the ISO image and select the root user by default before starting the installation and set its password as well after the installation is done (something similar to the kickstart file in the debian distros) ?<br>
one during writing the root user name, another time when creating the answer file (setup-alpine -c answerfileName), editing the answer file, calling the actual installation command (setup-alpine -f answerfileName) and reset the root password. Is there any way to include the answer file inside the ISO image and select the root user by default before starting the installation and set its password as well after the installation is done (something similar to the kickstart file in the debian distros) ?<br>
<!-- Template:Unsigned --><span class="autosigned" style="font-size:85%;">—&nbsp;Preceding unsigned comments added by [[User:Khaled.elgohary|Khaled.elgohary ]] ([[User talk:Khaled.elgohary #top|talk]] • [[Special:Contributions/Khaled.elgohary |contribs]]) 12:20, 7 February 2022‎</span>
<!-- Template:Unsigned --><span class="autosigned" style="font-size:85%;">—&nbsp;Preceding unsigned comments added by [[User:Khaled.elgohary|Khaled.elgohary ]] ([[User talk:Khaled.elgohary #top|talk]] • [[Special:Contributions/Khaled.elgohary |contribs]]) 12:20, 7 February 2022‎</span>
The [[https://wiki.alpinelinux.org/wiki/Alpine_setup_scripts#setup-alpine| setup-alpine]] section currently gives instructions that may appear to be contradictory:
"17. if installation mode selected during setup-disk was "data" instead of "sys", then: setup-lbu [/media/sdb1]
18. if installation mode selected during setup-disk was "data" instead of "sys", then: setup-apkcache [/media/sdb1/cache | none]"
One of these presumably refers to the case for "sys", but which?

Revision as of 13:56, 15 August 2024

Automate Alpine Linux installation

I am trying to achieve unattended Alpine Linux installation. I went through the Alpine automatic installation guide via setup-alpine script, but when I follow this guide there are many manual interventions are needed during the installation! one during writing the root user name, another time when creating the answer file (setup-alpine -c answerfileName), editing the answer file, calling the actual installation command (setup-alpine -f answerfileName) and reset the root password. Is there any way to include the answer file inside the ISO image and select the root user by default before starting the installation and set its password as well after the installation is done (something similar to the kickstart file in the debian distros) ?
— Preceding unsigned comments added by Khaled.elgohary (talkcontribs) 12:20, 7 February 2022‎

The [setup-alpine] section currently gives instructions that may appear to be contradictory:

"17. if installation mode selected during setup-disk was "data" instead of "sys", then: setup-lbu [/media/sdb1]

18. if installation mode selected during setup-disk was "data" instead of "sys", then: setup-apkcache [/media/sdb1/cache | none]"

One of these presumably refers to the case for "sys", but which?