[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Buster AMI interface names



On Thu, Oct 17, 2019 at 05:06:32PM -0700, Ross Vandegrift wrote:
> On Fri, Oct 18, 2019 at 01:04:56AM +0200, Dick Visser wrote:
> > On Fri, 18 Oct 2019 at 00:53, Noah Meyerhans wrote:
> > > Can you explain why this causes problems for you? We want to keep device
> > > renaming enabled for consistency with standard Debian installations, and
> > > we aren't aware of specific problems with it that necessitate it being
> > > disabled.
> > 
> > I'm using one of the AWS shell scripts (configure-pat.sh, which has
> > eth0 hardcoded) to do PAT for private instances, and this can be used
> > with many distros, but now not with Debian Buster.
> 
> IMO, it'd be mich better to fix the script to find the appropriate
> interface name.  That's easy in common cases:
>   IFACE=$(ip -o route show default | awk '{print $5}')
 
Where to sent patches for  `configure-pat.sh`?


By the way, what does the ' -o'  in `ip -o route show default`?
I'm asking because it seems to not be needed.


Groeten
Geert Stappers
-- 
Leven en laten leven


Reply to: