xenserver: Restore original InterfaceReconfigure*.py on uninstall.
authorBen Pfaff <blp@nicira.com>
Mon, 19 Apr 2010 18:40:32 +0000 (11:40 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 19 Apr 2010 18:40:32 +0000 (11:40 -0700)
commitb9e09a071d7d01b87c70341a9e9111b0c353c867
treeb0b5272509f093719cba46fe87e0586207b585e8
parentb3dfb94599743cf8670c7582ce319d8d82848469
xenserver: Restore original InterfaceReconfigure*.py on uninstall.

The %post script fragment in the RPM spec was moving aside the original
InterfaceReconfigure{,Bridge,Vswitch}.py scripts, but the %postun was
not restoring them.  This commit restores them in %postun.

Without this change, installing the openvswitch RPM on a stock XenServer
and then uninstalling it breaks XenServer networking.

Bug #2624.
Reported-by: Ram Jothikumar <rjothikumar@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
xenserver/openvswitch-xen.spec