From 0a3692eeb27ac27f86f32265f93a1406fa4ff960 Mon Sep 17 00:00:00 2001 From: Kentaro Ebisawa Date: Sat, 9 Dec 2017 22:16:50 +0900 Subject: [PATCH] fix set system hostname typo avoiding HostnameApi to be called. --- config/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/command.go b/config/command.go index d3ea2be..d8593a4 100644 --- a/config/command.go +++ b/config/command.go @@ -350,7 +350,7 @@ func (this *CliComponent) Start() component.Component { run := mode.Parser.Lookup("run") run.LinkNodes(opNode) - Parser.InstallLine("system host-name WORD", HostnameApi) + Parser.InstallLine("system hostname WORD", HostnameApi) Parser.InstallLine("system etcd endpoints WORD", EtcdEndpointsApi) Parser.InstallLine("system etcd path WORD", EtcdPathApi) Parser.InstallLine("interfaces interface WORD dhcp-relay-group WORD", RelayApi)