Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 61c119e

Browse files
committed
dnf install needs -y option
Signed-off-by: Peng Tao <bergwolf@gmail.com>
1 parent ea2dd75 commit 61c119e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyper-bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ install_from_rpm(){
440440
_ACT="install"
441441
fi
442442
handle_hyper_rpm_rename
443-
${BASH_C} "dnf ${_ACT} ${S3_URL}/${FC23_HYPERSTART}.rpm ${S3_URL}/${FC23_HYPER}.rpm"
443+
${BASH_C} "dnf ${_ACT} -y ${S3_URL}/${FC23_HYPERSTART}.rpm ${S3_URL}/${FC23_HYPER}.rpm"
444444
;;
445445
*) show_message error "rpm install support centos7 & fedora23 only"; exit 1;;
446446
esac

0 commit comments

Comments
 (0)