This website requires JavaScript.
Explore
Help
Register
Sign In
sig_cloud
/
diskimage-builder
Watch
2
Star
0
Fork
0
You've already forked diskimage-builder
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
687a3127d3
diskimage-builder
/
diskimage_builder
/
elements
/
centos-minimal
/
environment.d
/
11-yum-dnf.bash
6 lines
81 B
Bash
Raw
Normal View
History
Unescape
Escape
Add support for CentOS 8 Stream This patch adds support for CentOS 8 Stream [1] to the centos-minimal element. Users should set DIB_RELEASE=8-stream. [1] https://www.centos.org/stream/ Change-Id: Id0825de735ab957c10daf35fb3c641f850cc6847
2020-02-19 09:37:26 +00:00
if
[
[
$DIB_RELEASE
=
=
"7"
]
]
;
then
Add environment switch for centos8 to use dnf Set YUM to dnf for Centos 8; this matches similar done in fedora-minimal. Change-Id: I2b2c41a73e468fe9045ee5b7b812da66f20d8584
2019-09-25 03:40:54 +00:00
export
YUM
=
yum
Add support for CentOS 8 Stream This patch adds support for CentOS 8 Stream [1] to the centos-minimal element. Users should set DIB_RELEASE=8-stream. [1] https://www.centos.org/stream/ Change-Id: Id0825de735ab957c10daf35fb3c641f850cc6847
2020-02-19 09:37:26 +00:00
else
export
YUM
=
dnf
Add environment switch for centos8 to use dnf Set YUM to dnf for Centos 8; this matches similar done in fedora-minimal. Change-Id: I2b2c41a73e468fe9045ee5b7b812da66f20d8584
2019-09-25 03:40:54 +00:00
fi
Reference in New Issue
Copy Permalink