Author: Roy Bixler Date: To: Roy Bixler via Dng Old-Topics: [DNG] Devuan images in AWS Subject: Re: [DNG] Debian images in AWS without systemd
On Wed, Mar 19, 2025 at 01:15:48PM -0600, Roy Bixler via Dng wrote: > ... Experience showed
> that wasn't sufficient, because the network was still unconfigured.
> My workaround was to use a heuristic to find the name of the network
> interface. Mine was this:
>
> echo /run/systemd/network/[0-9]*-netplan-*.link | sed 's/.*[0-9]*-netplan-\([a-z0-9]*\)\.link/\1/'
I found a bug in the above. It worked fine with ARM64, but not with
AMD64. Apparently these network interfaces can use capitalized
letters too, so this version works:
echo /run/systemd/network/[0-9]*-netplan-*.link | sed 's/.*[0-9]*-netplan-\([a-zA-Z0-9]*\)\.link/\1/'
Also, I fixed the subject to match the content, but I did wonder why
the only Devuan images I could find were an old "chimaera" AMI and a
few unofficial builds using "runit". I'm stuck with Debian for now,
except my desktop which is Devuan. I may experiment with "runit"
someday.
--
Roy Bixler <rcbixler@???>
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman