]> git.proxmox.com Git - mirror_ifupdown2.git/commit
Fix bash completion for sudo users (mostly cosmetic) + man page and
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sat, 7 Jun 2014 06:00:24 +0000 (23:00 -0700)
committerRoopa Prabhu <roopa@cumulusnetworks.com>
Wed, 11 Jun 2014 02:31:50 +0000 (19:31 -0700)
commit522bf8e68b5f8225ce71cee5ae0ca8e28488544e
tree10b0d4630290435df6d3e25bafefc785ba043475
parent69cf2f0de7abebfecb6f0e9558f6186ededf4178
Fix bash completion for sudo users (mostly cosmetic) + man page and
example fixes

Ticket: CM-2911
Reviewed By: CCR-1637
Testing Done: tested ifupdown2 sanity and bash completion

The python argcomplete module that i use for ifupdown2 has a limitation
that it does not work with sudo when used in the global mode. But there is
a workaround for it online (long story short...instead of enabling the global
argparse complete ...the author recommends registering argparse complete bash
completion individually for your script). This patch does just that.

This patch also moves the udev overrides to their respective packages.
Two of them are owned by ifupdown2.

Conflicts:
rootconf/default/home/cumulus/sysroot-complete
completion/ifup [new file with mode: 0644]
debian/python-ifupdown2.postinst
debian/python-ifupdown2.postrm
docs/examples/interfaces
man.rst/ifquery.8.rst
man.rst/ifup.8.rst
sbin/ifupdown
setup.py