From 093bb333988b8f12f04631fb6c602738e2f5a758 Mon Sep 17 00:00:00 2001 From: MiaAltieri Date: Wed, 11 Dec 2024 16:14:13 +0000 Subject: [PATCH] vm map is first op --- src/charm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charm.py b/src/charm.py index 57bf1df73..ebfa47a7c 100755 --- a/src/charm.py +++ b/src/charm.py @@ -377,6 +377,7 @@ def get_charm_internal_revision(self) -> str: def _on_install(self, event: InstallEvent) -> None: """Handle the install event (fired on startup).""" + self._set_os_config() self.status.set_and_share_status(MaintenanceStatus("installing MongoDB")) try: self.install_snap_packages(packages=Config.SNAP_PACKAGES) @@ -403,7 +404,6 @@ def _on_install(self, event: InstallEvent) -> None: setup_logrotate_and_cron() # add licenses copy_licenses_to_unit() - self._set_os_config() def _on_config_changed(self, event: ConfigChangedEvent) -> None: """Listen to changes in application configuration.