Support multiple arch, replace hard-code of x86_64
Since Ceph supports more architectures such as Aarch64. Change-Id: I3cb05c4a3eb929e9648ecc05c4f0ba042f9e86ad Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
This commit is contained in:
parent
c7bd83b00a
commit
ef12fffc97
|
@ -698,7 +698,7 @@ function install_ceph {
|
|||
wget -q -O- 'https://download.ceph.com/keys/autobuild.asc' \
|
||||
| sudo apt-key add -
|
||||
|
||||
echo "deb http://gitbuilder.ceph.com/ceph-deb-$(lsb_release -sc)-x86_64-basic/ref/jewel $(lsb_release -sc) main" | \
|
||||
echo "deb http://gitbuilder.ceph.com/ceph-deb-$(lsb_release -sc)-$(uname -m)-basic/ref/jewel $(lsb_release -sc) main" | \
|
||||
sudo tee /etc/apt/sources.list.d/ceph.list
|
||||
|
||||
CEPH_PACKAGES="${CEPH_PACKAGES} ceph-mds libcephfs1"
|
||||
|
|
Loading…
Reference in New Issue