img: Allowing ONSUCCESS & ONFAILURE override
img: Allowing ONSUCCESS & ONFAILURE override

At build time, if ONSUCCESS or ONFAILURE is set, let's apply the default
setting on the bootable image unless keep it as default

redhat-cip/edeploy,redhat-cip/edeploy,lebauce/edeploy,enovance/edeploy,enovance/edeploy,enovance/edeploy,redhat-cip/edeploy,lebauce/edeploy,lebauce/edeploy,redhat-cip/edeploy,lebauce/edeploy,enovance/edeploy