cloud-init team mailing list archive
-
cloud-init team
-
Mailing list archive
-
Message #00119
Re: use of network utilities
the command ‘ip’ and family do not exist on AIX.
Sent from my iPhone
> On 17 Dec 2017, at 13:16, Robert Schweikert <rjschwei@xxxxxxxx> wrote:
>
> Hi,
>
> We are deprecating support for
>
> arp
> ifconfig
> netstat
> route
>
> But cloud-init still uses these commands (spare the 'arp' command) in
> some places, namely:
>
> cc_disable_ec2_metadata.py uses 'route'
> netinfo.py uses 'ifconfig' and 'netstat'
>
> The question is, do we expect cloud-init (spare freebsd) to run only on
> distributions that support the new commands provided by iproute2?
>
> I am asking because in cloudinit/net/__init__.py the 'ip' command is
> used unconditonally, i.e. it is assumed that the 'ip' command exists. if
> this is the case we should be able to replace the 'route', 'ifconfig',
> and 'ntestat' commands in the other parts of the code as well.
>
> Thoughts?
>
> Thanks,
> Robert
>
> --
> Robert Schweikert MAY THE SOURCE BE WITH YOU
> Distinguished Architect LINUX
> Team Lead Public Cloud
> rjschwei@xxxxxxxx
> IRC: robjo
>
> --
> Mailing list: https://launchpad.net/~cloud-init
> Post to : cloud-init@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~cloud-init
> More help : https://help.launchpad.net/ListHelp
Follow ups
References