sparrow/3-code/dev-env will use hostname command, so add it.
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 6e3ed42..8df36c0 100755 --- a/sparrow/0-package/os/centos +++ b/sparrow/0-package/os/centos @@ -21,6 +21,7 @@ pkgs=( lockfile-progs busybox iproute + hostname )
yum install -y --skip-broken "${pkgs[@]}" diff --git a/sparrow/0-package/os/debian b/sparrow/0-package/os/debian index 8ee6d7e..6a58a0c 100755 --- a/sparrow/0-package/os/debian +++ b/sparrow/0-package/os/debian @@ -19,6 +19,7 @@ pkgs=( bridge-utils busybox iproute2 + hostname )
apt-get install -y --fix-missing "${pkgs[@]}" diff --git a/sparrow/0-package/os/openEuler b/sparrow/0-package/os/openEuler index 13e0875..a63964f 100755 --- a/sparrow/0-package/os/openEuler +++ b/sparrow/0-package/os/openEuler @@ -20,6 +20,7 @@ pkgs=( wget busybox iproute + hostname )
yum install -y --skip-broken "${pkgs[@]}"