added ospf mdr redhat dependencies to invoke install
This commit is contained in:
parent
9bf5756a03
commit
626b977505
1 changed files with 2 additions and 0 deletions
2
tasks.py
2
tasks.py
|
@ -117,6 +117,8 @@ def install_ospf_mdr(c: Context, os_info: OsInfo, hide: bool) -> None:
|
||||||
print("installing ospf mdr dependencies...")
|
print("installing ospf mdr dependencies...")
|
||||||
if os_info.like == OsLike.DEBIAN:
|
if os_info.like == OsLike.DEBIAN:
|
||||||
c.run("sudo apt install -y libtool gawk libreadline-dev", hide=hide)
|
c.run("sudo apt install -y libtool gawk libreadline-dev", hide=hide)
|
||||||
|
elif os_info.like == OsLike.REDHAT:
|
||||||
|
c.run("sudo yum install -y libtool gawk readline-devel", hide=hide)
|
||||||
print("cloning ospf mdr...")
|
print("cloning ospf mdr...")
|
||||||
clone_dir = "/tmp/ospf-mdr"
|
clone_dir = "/tmp/ospf-mdr"
|
||||||
c.run(
|
c.run(
|
||||||
|
|
Loading…
Add table
Reference in a new issue