From 183b065ae6d4d2ecdb816bfc2ba51421f0a36546 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 20 Sep 2022 15:11:33 -0400 Subject: [PATCH] Island: Set island=True on IMachineRepository initialization --- monkey/monkey_island/cc/repository/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/monkey/monkey_island/cc/repository/utils.py b/monkey/monkey_island/cc/repository/utils.py index 1a2decff3..7f11c0b46 100644 --- a/monkey/monkey_island/cc/repository/utils.py +++ b/monkey/monkey_island/cc/repository/utils.py @@ -26,6 +26,7 @@ def initialize_machine_repository(machine_repository: IMachineRepository): machine = Machine( id=machine_repository.get_new_id(), hardware_id=hardware_id, + island=True, network_interfaces=get_network_interfaces(), operating_system=OperatingSystem(platform.system().lower()), operating_system_version=platform.version(),