[why] when execute sparrow/2-network in machine error: ip: command not found
[how] openeuler and centos install ip command by iproute, debian install ip command by iproute2
Signed-off-by: Liu Yinsi liuyinsi@163.com --- sparrow/0-package/os/centos | 1 + sparrow/0-package/os/debian | 1 + sparrow/0-package/os/openEuler | 1 + 3 files changed, 3 insertions(+)
diff --git a/sparrow/0-package/os/centos b/sparrow/0-package/os/centos index 4243f99..6e3ed42 100755 --- a/sparrow/0-package/os/centos +++ b/sparrow/0-package/os/centos @@ -20,6 +20,7 @@ pkgs=( liblockfile lockfile-progs busybox + iproute )
yum install -y --skip-broken "${pkgs[@]}" diff --git a/sparrow/0-package/os/debian b/sparrow/0-package/os/debian index 16ef0a9..8ee6d7e 100755 --- a/sparrow/0-package/os/debian +++ b/sparrow/0-package/os/debian @@ -18,6 +18,7 @@ pkgs=( lockfile-progs bridge-utils busybox + iproute2 )
apt-get install -y --fix-missing "${pkgs[@]}" diff --git a/sparrow/0-package/os/openEuler b/sparrow/0-package/os/openEuler index 79af2b9..43e96ab 100755 --- a/sparrow/0-package/os/openEuler +++ b/sparrow/0-package/os/openEuler @@ -19,6 +19,7 @@ pkgs=( redis wget busybox + iproute )
yum install -y --skip-broken "${pkgs[@]}"