Merge pull request #34229 from dodiadodia/patch-1
Update mkimage-yum.sh
This commit is contained in:
commit
885cd5fbe5
|
@ -81,13 +81,13 @@ fi
|
||||||
if [[ -n "$install_groups" ]];
|
if [[ -n "$install_groups" ]];
|
||||||
then
|
then
|
||||||
yum -c "$yum_config" --installroot="$target" --releasever=/ --setopt=tsflags=nodocs \
|
yum -c "$yum_config" --installroot="$target" --releasever=/ --setopt=tsflags=nodocs \
|
||||||
--setopt=group_package_types=mandatory -y groupinstall $install_groups
|
--setopt=group_package_types=mandatory -y groupinstall "$install_groups"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "$install_packages" ]];
|
if [[ -n "$install_packages" ]];
|
||||||
then
|
then
|
||||||
yum -c "$yum_config" --installroot="$target" --releasever=/ --setopt=tsflags=nodocs \
|
yum -c "$yum_config" --installroot="$target" --releasever=/ --setopt=tsflags=nodocs \
|
||||||
--setopt=group_package_types=mandatory -y install $install_packages
|
--setopt=group_package_types=mandatory -y install "$install_packages"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
yum -c "$yum_config" --installroot="$target" -y clean all
|
yum -c "$yum_config" --installroot="$target" -y clean all
|
||||||
|
|
Loading…
Reference in New Issue