Skip to content

Commit

Permalink
Basic fixes for install.sh -fnv for Fedora 33 (mininet#1038)
Browse files Browse the repository at this point in the history
  • Loading branch information
lantz authored Feb 9, 2021
1 parent 92fe3cc commit 4a1dbac
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions util/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ function mn_deps {
if [ "$DIST" = "Fedora" -o "$DIST" = "RedHatEnterpriseServer" ]; then
$install gcc make socat psmisc xterm openssh-clients iperf \
iproute telnet python-setuptools libcgroup-tools \
ethtool help2man pyflakes pylint python-pep8 python-pexpect
ethtool help2man
$install ${PYPKG}-pyflakes pylint ${PYPKG}-pep8-naming \
${PYPKG}-pexpect
elif [ "$DIST" = "SUSE LINUX" ]; then
$install gcc make socat psmisc xterm openssh iperf \
iproute telnet ${PYPKG}-setuptools libcgroup-tools \
Expand Down Expand Up @@ -408,7 +410,11 @@ function ovs {
echo "Installing Open vSwitch..."

if [ "$DIST" = "Fedora" -o "$DIST" = "RedHatEnterpriseServer" ]; then
$install openvswitch openvswitch-controller
$install openvswitch
if ! $install openvswitch-controller; then
echo "openvswitch-controller not installed"
echo "You may wish to install another controller such as Ryu"
fi
return
fi

Expand Down

0 comments on commit 4a1dbac

Please sign in to comment.