dom0-updates: fix hostname in error message
This commit is contained in:
parent
520178d5dc
commit
801c5c62f1
@ -108,7 +108,7 @@ YUM_COMMAND="fakeroot yum $YUM_ACTION -y --downloadonly --downloaddir=$DOM0_UPDA
|
||||
# yumdownloader
|
||||
if ! yum --help | grep -q downloadonly; then
|
||||
if [ "$YUM_ACTION" != "install" -a "$YUM_ACTION" != "upgrade" ]; then
|
||||
echo "ERROR: yum version installed in VM $HOSTNAME does not suppport --downloadonly option" >&2
|
||||
echo "ERROR: yum version installed in VM `hostname` does not suppport --downloadonly option" >&2
|
||||
echo "ERROR: only 'install' and 'upgrade' actions supported ($YUM_ACTION not)" >&2
|
||||
if [ "$GUI" = 1 ]; then
|
||||
zenity --error --text="yum version too old for '$YUM_ACTION' action, see console for details"
|
||||
|
Loading…
Reference in New Issue
Block a user