fix pxe server cannot build by daisy.conf bug

when use daisy.conf to deploy the pxe server:
get "instal_func.sh: line 39: bc: command not found" error
the env is lack of bc package

Change-Id: I8d23f7755cde86fee39b6717f13dc1146303bfc8
This commit is contained in:
zhouya 2017-08-07 17:28:48 +08:00
parent df5a838554
commit 39508100bc
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ function all_install
write_install_log "install wget rpm"
install_rpm_by_yum "wget"
write_install_log "install bc rpm"
install_rpm_by_yum "bc"
write_install_log "install daisy4nfv-jasmine"
mkdir -p /var/lib/daisy/tools/
cp daisy4nfv-jasmine*.rpm /var/lib/daisy/tools/ # keep it for target hosts