Merge "Fix wrong package names or versions for centos-minimal images"
This commit is contained in:
commit
6053c4baeb
|
@ -2,6 +2,7 @@
|
|||
"release": {
|
||||
"rhel": {
|
||||
"8": {
|
||||
"isc-dhcp-client": "dhcp-client",
|
||||
"python-dev": "platform-python-devel",
|
||||
"vlan": "",
|
||||
"screen": "",
|
||||
|
@ -20,7 +21,7 @@
|
|||
"cloud-guest-utils": "",
|
||||
"apparmor": "",
|
||||
"dmeventd": "",
|
||||
"isc-dhcp-client": "dhcp-client",
|
||||
"isc-dhcp-client": "dhclient",
|
||||
"uuid-runtime": "",
|
||||
"ubuntu-cloudimage-keyring": "",
|
||||
"vim-tiny": "",
|
||||
|
|
|
@ -4,14 +4,16 @@
|
|||
"trusty": {
|
||||
"haproxy": "haproxy/trusty-backports"
|
||||
}
|
||||
},
|
||||
"centos": {
|
||||
"7": {
|
||||
"haproxy": "haproxy18"
|
||||
}
|
||||
}
|
||||
},
|
||||
"distro": {
|
||||
"ubuntu": {
|
||||
"haproxy": "haproxy"
|
||||
},
|
||||
"centos7": {
|
||||
"haproxy": "haproxy18"
|
||||
}
|
||||
},
|
||||
"family": {
|
||||
|
|
|
@ -6,7 +6,7 @@ set -o xtrace
|
|||
|
||||
if [ "$DISTRO_NAME" == "ubuntu" ] && [ "$DIB_RELEASE" == "trusty" ]; then
|
||||
echo deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse > /etc/apt/sources.list.d/backports.list
|
||||
elif [ "$DISTRO_NAME" == "centos7" ]; then
|
||||
elif [ "$DISTRO_NAME" == "centos" ] && [ "$DIB_RELEASE" == "7" ]; then
|
||||
INCLUDEPKGS=''
|
||||
case $ARCH in
|
||||
x86_64|amd64)
|
||||
|
|
Loading…
Reference in New Issue