class AutonomiccsSystemVmsGuru implements VirtualMachineGuru, InitializingBean {

    @Override
    public boolean finalizeDeployment(Commands cmds, VirtualMachineProfile profile, DeployDestination dest, ReservationContext context) throws ResourceUnavailableException {
        AutonomiccsSystemVm autonomiccsSystemVm = autonomiccsSystemVmDao.findById(profile.getId());

        DataCenter dc = dest.getDataCenter();
        List<NicProfile> nics = profile.getNics();

        setIpAddressOfEachNic(autonomiccsSystemVm, dc, nics);

        autonomiccsSystemVmDao.update(profile.getId(), autonomiccsSystemVm);
        return true;
    }

}