wwctl configure subcommands accept no positional arguments
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -12,6 +12,7 @@ var (
|
|||||||
Long: "DHCP is a dependent service to Warewulf. This command will configure DHCP as defined\n" +
|
Long: "DHCP is a dependent service to Warewulf. This command will configure DHCP as defined\n" +
|
||||||
"in the warewulf.conf file.",
|
"in the warewulf.conf file.",
|
||||||
RunE: CobraRunE,
|
RunE: CobraRunE,
|
||||||
|
Args: cobra.ExactArgs(0),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ var (
|
|||||||
Short: "update hostfile on master",
|
Short: "update hostfile on master",
|
||||||
Long: "Manage the hostfile on the master node\n",
|
Long: "Manage the hostfile on the master node\n",
|
||||||
RunE: CobraRunE,
|
RunE: CobraRunE,
|
||||||
|
Args: cobra.ExactArgs(0),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ var (
|
|||||||
Long: "NFS is an optional dependent service of Warewulf, this tool will automatically\n" +
|
Long: "NFS is an optional dependent service of Warewulf, this tool will automatically\n" +
|
||||||
"configure NFS as per the configuration in the warewulf.conf file.",
|
"configure NFS as per the configuration in the warewulf.conf file.",
|
||||||
RunE: CobraRunE,
|
RunE: CobraRunE,
|
||||||
|
Args: cobra.ExactArgs(0),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ var (
|
|||||||
"setup the ssh keys nodes using the 'default' system overlay as well as user owned\n" +
|
"setup the ssh keys nodes using the 'default' system overlay as well as user owned\n" +
|
||||||
"keys.",
|
"keys.",
|
||||||
RunE: CobraRunE,
|
RunE: CobraRunE,
|
||||||
|
Args: cobra.ExactArgs(0),
|
||||||
}
|
}
|
||||||
keyTypes []string
|
keyTypes []string
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ var (
|
|||||||
Long: "TFTP is a dependent service of Warewulf, this tool will enable the tftp services\n" +
|
Long: "TFTP is a dependent service of Warewulf, this tool will enable the tftp services\n" +
|
||||||
"on your Warewulf master.",
|
"on your Warewulf master.",
|
||||||
RunE: CobraRunE,
|
RunE: CobraRunE,
|
||||||
|
Args: cobra.ExactArgs(0),
|
||||||
}
|
}
|
||||||
setShow bool
|
setShow bool
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user