[lib] remove ip list file in wait_vms_have_started
[lib] Comment unused and buggy function
[lib] Fixing a bug related to the opening of temporary files