[ovs-dev] [PATCH v2] ovs-ctl: fallback to "uname -n" for fetching hostname
Ben Pfaff
blp at ovn.org
Tue Dec 4 02:15:08 UTC 2018
On Tue, Dec 04, 2018 at 01:41:26AM +0000, Yousong Zhou wrote:
> From: Yousong Zhou <yszhou4tech at gmail.com>
>
> The command "hostname" is not available in OpenWrt by default. Strace
> result of hostname-3.13 on centos7 shows that bare "hostname" command
> calls uname() to fetch node name.
>
> Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
> ---
> v2 <- v1: fallback to "uname -n" when FULL_HOSTNAME=yes. Suggested by blp
Thanks, applied to master.
More information about the dev
mailing list