Skip to content

Commit

Permalink
vm map is first op
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Dec 11, 2024
1 parent 011c3d2 commit 093bb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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.
Expand Down

0 comments on commit 093bb33

Please sign in to comment.