Clear deployed OS from the NIM and reserved_ips

Close bug #10