Modify for lxc related tests
Modify for remove agent in reboot shutdown undefine