Description of problem:
Using "--skip-existing-hooks" option to skip old image hooks scripts to run failed
for ovirt-node-upgrade tools.
This is due to the value of _options.skip_existing_hooks always "False" whether
add --skip-existing-hooks option or not when using ovirt-node-upgrade.
Version-Release number of selected component (if applicable):
In the master branch of ovirt-node upstream
Miss to unmount_config "/etc/profile" before edit it
Change-Id: I479be705f991f7d2542a944d0491e9ac252dc410
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Primary the value of _options.skip_existing_hooks always "False" whether
add --skip-existing-hooks option or not when using ovirt-node-upgrade.
Now fix it as the value of _options.skip_existing_hooks was "True" when
add --skip-existing-hooks option. If not add it, the default value was
"False"
http://gerrit.ovirt.org/#/c/28542/