diff --git a/cmd/sealer/cmd/alpha/host-alias.go b/cmd/sealer/cmd/alpha/host-alias.go index 13df9a32284..89a55957f91 100644 --- a/cmd/sealer/cmd/alpha/host-alias.go +++ b/cmd/sealer/cmd/alpha/host-alias.go @@ -71,7 +71,7 @@ func NewHostAliasCmd() *cobra.Command { cf.SetCluster(desiredCluster) - return cf.SaveAll(clusterfile.SaveOptions{CommitToCluster: true}) + return cf.SaveAll(clusterfile.SaveOptions{CommitToCluster: false}) }, } cmd.Flags().StringVar(&hostAlias.IP, "ip", "", "host-alias ip")