Talk:Alpine setup scripts: Difference between revisions

From Alpine Linux
No edit summary
m (Unsigned comment attribution. Separate topics with HR)
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:  
The [[https://wiki.alpinelinux.org/wiki/Alpine_setup_scripts#setup-alpine| setup-alpine]] section currently gives instructions that may appear to be contradictory:  
Line 12: Line 14:


One of these presumably refers to the case for "sys", but which?
One of these presumably refers to the case for "sys", but which?
<small><span class="autosigned">—&nbsp;Preceding [[Help:Signature|unsigned]] comment added by [[User:John3-16|John3-16]] ([[User talk:John3-16|{{int:talkpagelinktext}}]] • [[Special:Contributions/John3-16|{{int:contribslink}}]]) 09:56, 15 August 2024‎</span></small>

Revision as of 04:42, 18 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?

— Preceding unsigned comment added by John3-16 (talkcontribs) 09:56, 15 August 2024‎