diff --git a/charmcraft.yaml b/charmcraft.yaml index 55815ff..ca20899 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -4,6 +4,12 @@ bases: - name: ubuntu channel: "22.04" run-on: + - name: ubuntu + channel: "20.04" + architectures: [amd64] + - name: ubuntu + channel: "22.04" + architectures: [amd64] - name: centos channel: "7" architectures: [amd64] diff --git a/metadata.yaml b/metadata.yaml index 99024c0..2d63edd 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -20,6 +20,8 @@ tags: - nvidia series: + - jammy + - focal - centos7 requires: diff --git a/src/nvidia_ops_manager.py b/src/nvidia_ops_manager.py index 850e70f..9603a06 100644 --- a/src/nvidia_ops_manager.py +++ b/src/nvidia_ops_manager.py @@ -71,7 +71,7 @@ def __init__(self): self._distribution = f"{self._id}{self._os}" self._cuda_keyring_url = ( "https://developer.download.nvidia.com/compute/cuda/" - f"repos/{self._distribuition}/{self._arch}/cuda-keyring_1.0-1_all.deb" + f"repos/{self._distribution}/{self._arch}/cuda-keyring_1.0-1_all.deb" ) self._cuda_sources_list = Path( f"/etc/apt/sources.list.d/cuda-{self._distribution}-{self._arch}.list"