Bootloader and initramfs configuration for live images

Forked from Debian Live Team / live-boot

  • Sameer Agrawal's avatar
    Fix ifconfig parsing · 0d766871
    Sameer Agrawal authored
    ifconfig from net-tools does not output "inet.*addr:" pattern anymore.
    Match IP addresses instead. But ifconfig from busybox does, so try
    and match either patterns.
    $ /sbin/ifconfig wlp2s0 | grep 'inet.*addr:'
    $ /sbin/ifconfig eth0 | grep -E 'inet.*addr:|inet [0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*'
            inet  netmask  broadcast
    $ busybox ifconfig eth0 | grep -E 'inet.*addr:|inet [0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*'
              inet addr:  Bcast:  Mask:
              inet6 addr: fd00::1:60ad:2691:4cc6:f32/64 Scope:Global
              inet6 addr: fe80::96de:80ff:feae:b976/64 Scope:Link
              inet6 addr: fd00::1:96de:80ff:feae:b976/64 Scope:Global
              inet6 addr: 2a00:23c5:be85:1400:96de:80ff:feae:b976/64 Scope:Global
              inet6 addr: 2a00:23c5:be85:1400:60ad:2691:4cc6:f32/64 Scope:Global
    Closes: #892772
Last commit
Last update
backend Loading commit data...
components Loading commit data...
debian Loading commit data...
frontend Loading commit data...
manpages Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...