[lib] deployment: redistribute the VM if host_ko is not None and update ip_mac