Get rid of the 'verify' which is flakey

This commit is contained in:
Ember
2026-03-23 17:16:23 -07:00
committed by Markus Unterwaditzer
parent f0849340cf
commit bada3846dc
3 changed files with 8 additions and 48 deletions

View File

@@ -1,6 +1,6 @@
use crate::WingtechArgs as Args;
use crate::output::{print, println};
use crate::util::{reboot_and_verify, telnet_send_command, telnet_send_file};
use crate::util::{reboot_device, telnet_send_command, telnet_send_file};
use aes::Aes128;
use aes::cipher::{BlockEncrypt, KeyInit, generic_array::GenericArray};
use anyhow::{Context, Result, bail};
@@ -141,7 +141,7 @@ async fn wingtech_run_install(admin_ip: String, admin_password: String) -> Resul
)
.await?;
reboot_and_verify(addr, "shutdown -r -t 1 now", &admin_ip).await;
reboot_device(addr, "shutdown -r -t 1 now", &admin_ip).await;
Ok(())
}