cleanvm: cleanup and split into functions
cleanvm: cleanup and split into functions

aspiers/automation,aspiers/automation,gosipyan/automation,gosipyan/automation,SUSE-Cloud/automation,aspiers/automation,vmoravec/automation,gosipyan/automation,aspiers/automation,SUSE-Cloud/automation,vmoravec/automation,SUSE-Cloud/automation,gosipyan/automation,SUSE-Cloud/automation,vmoravec/automation,vmoravec/automation