We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c47937a commit 9617642Copy full SHA for 9617642
monitor/src/image/macos13.rs
@@ -80,7 +80,10 @@ pub struct MacosUtm;
80
#[expect(unused_variables)]
81
impl Image for MacosUtm {
82
fn rebuild(&self, profile: &Profile, snapshot_name: &str) -> eyre::Result<()> {
83
- todo!()
+ let profile_name = &profile.profile_name;
84
+ let rebuild_guest_name = &profile.rebuild_guest_name(snapshot_name);
85
+ hypervisor::utm::clone_guest(&format!("{profile_name}-clean"), rebuild_guest_name)?;
86
+ Ok(())
87
}
88
fn delete_template(&self, profile: &Profile, snapshot_name: &str) -> eyre::Result<()> {
89
todo!()
0 commit comments