```python
if running and public:
    data.public_ips = public
    not_ready = False
if running and private:
    data.private_ips = private
    if ssh_interface(vm_) == 'private_ips':
        not_ready = False
```
This should be it.