mirror of
https://github.com/trycua/computer.git
synced 2026-01-04 20:40:15 -06:00
Update Mac identifier during clone process
This commit is contained in:
@@ -93,6 +93,9 @@ final class LumeController {
|
||||
// Update MAC address in the cloned VM to ensure uniqueness
|
||||
let clonedVM = try get(name: normalizedNewName, storage: destLocation)
|
||||
try clonedVM.setMacAddress(VZMACAddress.randomLocallyAdministered().string)
|
||||
|
||||
// Update MAC Identifier in the cloned VM to ensure uniqueness
|
||||
try clonedVM.setMachineIdentifier(DarwinVirtualizationService.generateMachineIdentifier())
|
||||
|
||||
Logger.info(
|
||||
"VM cloned successfully",
|
||||
|
||||
Reference in New Issue
Block a user