wwctl configure subcommands accept no positional arguments

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-02-07 22:38:32 -07:00
parent 5e8e9cea14
commit 1d34477425
5 changed files with 5 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ var (
Long: "DHCP is a dependent service to Warewulf. This command will configure DHCP as defined\n" +
"in the warewulf.conf file.",
RunE: CobraRunE,
Args: cobra.ExactArgs(0),
}
)

View File

@@ -9,6 +9,7 @@ var (
Short: "update hostfile on master",
Long: "Manage the hostfile on the master node\n",
RunE: CobraRunE,
Args: cobra.ExactArgs(0),
}
)

View File

@@ -10,6 +10,7 @@ var (
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.",
RunE: CobraRunE,
Args: cobra.ExactArgs(0),
}
)

View File

@@ -13,6 +13,7 @@ var (
"setup the ssh keys nodes using the 'default' system overlay as well as user owned\n" +
"keys.",
RunE: CobraRunE,
Args: cobra.ExactArgs(0),
}
keyTypes []string
)

View File

@@ -10,6 +10,7 @@ var (
Long: "TFTP is a dependent service of Warewulf, this tool will enable the tftp services\n" +
"on your Warewulf master.",
RunE: CobraRunE,
Args: cobra.ExactArgs(0),
}
setShow bool
)