Waits until SSH to the guest becomes available using the [default guest authentication] and the default guest IP. [default guest authentication]: default_guest_auth
(&self, timeout: Duration)
| 1337 | /// |
| 1338 | /// [default guest authentication]: default_guest_auth |
| 1339 | pub fn wait_for_ssh(&self, timeout: Duration) -> Result<(), WaitForSshError> { |
| 1340 | wait_for_ssh( |
| 1341 | "true", |
| 1342 | &default_guest_auth(), |
| 1343 | &self.network.guest_ip0, |
| 1344 | timeout, |
| 1345 | ) |
| 1346 | .map(|_| ()) |
| 1347 | } |
| 1348 | |
| 1349 | /// Waits until the provided command succeeds via SSH on the guest using the |
| 1350 | /// [default guest authentication] and the default guest IP. |