[kubernetes-worker] Charm always installs the latest cuda package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using kubernetes-
First, install_cuda() in reactive/cuda.sh installs the cure-repo-
$ cat /etc/apt/
deb http://
$
When cuda packages are installed, the latest cuda packages will be installed because only a package name is specified for apt-get install.
Please fix so that the version of cuda package specified by cuda-version option is installed.
function all::all:
cd /tmp
[ -f ${REPO_PKG} ] && rm -f ${REPO_PKG}
wget ${REPO_URL}
dpkg -i /tmp/${REPO_PKG}
apt-get update -qq && \
apt-get install -yqq --allow-downgrades --allow-
cuda
rm -f ${REPO_PKG}
}
tags: | added: kubernetes |
tags: | added: cuda |