指定版本下载yum离线安装包

#!/bin/bash
releasever=7
for i in salt-minion salt-api salt-master docker-ce docker-ce-cli docker-compose;
do
    yum install --downloadonly  --releasever=${releaserver}  --downloaddir=./ ${i}
done
posted @ 2019-09-29 14:37  random_lee  阅读(1218)  评论(0编辑  收藏  举报