diff --git a/cmd/baremetal/baremetal.go b/cmd/baremetal/baremetal.go index 965e60f..e014da5 100644 --- a/cmd/baremetal/baremetal.go +++ b/cmd/baremetal/baremetal.go @@ -1145,9 +1145,9 @@ func parseCreateFlags(cmd *cobra.Command) (*govultr.BareMetalCreate, error) { // return nil, fmt.Errorf("error parsing ripv4 flag for bare metal create : %v", err) } - pxe, err := cmd.Flags().GetBool("persistenterrpxe") + pxe, err := cmd.Flags().GetBool("persistent_pxe") if err != nil { - return nil, fmt.Errorf("error parsing persistenterrpxe flag for bare metal create : %v", err) + return nil, fmt.Errorf("error parsing persistent_pxe flag for bare metal create : %v", err) } image, err := cmd.Flags().GetString("image")