docker image persistence

This commit is contained in:
Aiden McClelland
2021-09-15 11:33:23 -06:00
committed by Aiden McClelland
parent 9fe132fcac
commit 5154fcf9da
3 changed files with 64 additions and 0 deletions

View File

@@ -114,6 +114,8 @@ async fn init(cfg_path: Option<&str>) -> Result<(), Error> {
.invoke(embassy::ErrorKind::Docker)
.await?;
log::info!("Mounted Docker Data");
embassy::install::load_images().await?;
log::info!("Loaded Docker Images");
embassy::ssh::sync_keys_from_db(&secret_store, "/root/.ssh/authorized_keys").await?;
log::info!("Synced SSH Keys");
// todo!("sync wifi");