Mail archive
alpine-devel

Re: [alpine-devel] Should `setup-apkrepos -f` if fails.

From: Tuan Hoang <tmhoang_at_linux.ibm.com>
Date: Fri, 8 Mar 2019 17:03:42 +0100

On 3/8/19 5:00 PM, Tuan Hoang wrote:
> I would love to hear opinions from Alpine dev team on this matter.
>
> What's in my mind is something like established method like kickstart
> (and preseed too?).
>
> Something like, you have an init service that watches for kernel parm
> 'auto_inst'. If there is, it starts the automated installer for you (and
> somehow can reuse our setup-* scripts), with a provided configuration
> file. Could be like 'auto_inst=https://yoursite.com/auto_inst.conf'. I
> think this would be a nice fit for Alpine.
>
As simple as firstboot init service we are having and its corresponding
kernel parm 'ssh_key'.
https://git.alpinelinux.org/aports/tree/main/openrc/firstboot.initd

>
> On 3/8/19 4:52 PM, Drew DeVault wrote:
>> A little bit late to this thread, but I found the installation scripts
>> wholely unsuitable for unattended installation. You're probably better
>> off ditching them. Here's the script I use:
>>
>> https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/images/alpine/genimg
>>
>> Feel free to adapt it to your needs. IMO given the simplicity of doing
>> these steps manually, I think that the setup-* scripts should be
>> considered useful only in an interactive install.
>>
>>
>> ---
>> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
>> Help: alpine-devel+help_at_lists.alpinelinux.org
>> ---
>>
>
>
>
> ---
> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> Help: alpine-devel+help_at_lists.alpinelinux.org
> ---
>



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Fri Mar 08 2019 - 17:03:42 UTC