mirror of
https://shylinux.com/x/icebergs
synced 2025-04-28 18:22:02 +08:00
opt some
This commit is contained in:
parent
16678e04c8
commit
c3b8eedafd
@ -56,6 +56,7 @@ func init() {
|
|||||||
}},
|
}},
|
||||||
"hostname": {Name: "hostname", Help: "hostname", Hand: func(m *ice.Message, arg ...string) {
|
"hostname": {Name: "hostname", Help: "hostname", Hand: func(m *ice.Message, arg ...string) {
|
||||||
m.Conf(RUNTIME, "boot.hostname", arg[0])
|
m.Conf(RUNTIME, "boot.hostname", arg[0])
|
||||||
|
m.Conf(RUNTIME, "node.name", arg[0])
|
||||||
ice.Info.HostName = arg[0]
|
ice.Info.HostName = arg[0]
|
||||||
m.Echo(ice.Info.HostName)
|
m.Echo(ice.Info.HostName)
|
||||||
}},
|
}},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user