~alpine/devel

1

answerfile via kernel cmdline and a nextboot script url likewise

Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
Details
Message ID
<228a75c1-69f5-cdda-87cf-d2b052f065aa@wildtechgarden.ca>
DKIM signature
missing
Download raw message
Hello all,

In thinking about the whole automated deployment thing, it occurs I may
be unaware of existing or planned capabilities that would take care of
basic deployment needs.

1. Is it currently possible to supply the URI of an answerfile on the
kernel commandline (e.g. when doing iPXE boot)?

   1. If not, is this a planned capability? Is there work in progress?
Is this something you'd welcome an MR for?

2. Is it currently possible to specify the URI of a script on the kernel
commandline (as with answerfile) that will run on the first reboot (i.e.
after applying the answerfile and doing the needed reboot)?

   1. ditto

   2. AIUI the answerfile root filesystem isn't suitable for running as
a normal system, even after the answerfile completes. Is this correct,
or would it be possible to run a script in the answerfile root context
that wouldn't have unexpected gotchas?


It seems to me this would also help with the request for being able to
do headless deployments of Alpine Linux.


Regards,

Daniel

-- 

https://wildtechgarden.ca Technical and professional website
https://princesandmadmen.ca Personal and political blog
Details
Message ID
<57626fd1-263d-3087-17f5-c677799d8794@ipik.org>
In-Reply-To
<228a75c1-69f5-cdda-87cf-d2b052f065aa@wildtechgarden.ca> (view parent)
DKIM signature
missing
Download raw message
> It seems to me this would also help with the request for being able to
> do headless deployments of Alpine Linux.
There have been a few apkovl contributions in the Alpine wiki to allow
such usecase (any plaform although it started with a Pi usecase
initially). We are currently discussing about consolidating the scripts
and wiki info on this: you may want to check that [1]

[1] https://github.com/davidmytton/alpine-linux-headless-raspberrypi/pull/9
Reply to thread Export thread (mbox)