Re: [alpine-devel] Should `setup-apkrepos -f` if fails.
On 3/15/19 4:30 AM, Magicloud Magiclouds wrote:
> PS: Tuan, I think ssh_key is quite hard to use, actually. It accepts a
> URL, or a pub key string. Since pub key string contains spaces
> (ssh-rsa ABCDEFG hostname), while some boot loader cannot pass this
> string correctly (with double quote, or escaping), it is not
> practically a useful way.
The support for pub key string is there but I don't know if you could
paste a RSA key into the kernel parm (limited by 255 char ?). A ssh
ed25519 key should work I guess.
> On Thu, Mar 14, 2019 at 9:46 PM Natanael Copa <ncopa_at_alpinelinux.org> wrote:
>> On Sun, 3 Mar 2019 13:35:58 +0800
>> Magicloud Magiclouds <magicloud.magiclouds_at_gmail.com> wrote:
>>> While working on automatically setup an alpinelinux, I found that,
>>> `setup-apkrepos -f` falls back to interactive mode if something is
>>> wrong when retrieving mirror list.
>>> I think this is unexpected. One, headless or unattended setup hangs
>>> because this step is waiting for user. Two, it does not exit with
>>> error, so the automation script cannot detect the error easily and
>>> patch things up.
>>> I did not submit this as a bug since I'd like to have your opinion. Thanks.
>> Yeah, I think this can be considered a bug. Please report it on https://bugs.alpinelinux.org
Received on Mon Mar 18 2019 - 13:53:32 UTC