=head1 NAME

B<nodechmac> - Updates the MAC address for a node.

=head1 SYNOPSIS

B<nodechmac> [B<-h> | B<--help> | B<-v> | B<--version>]

B<nodechmac> I<node-name> B<mac=>I<mac-address>

=head1 DESCRIPTION

B<Note:> The command B<nodechmac> has been deprecated. To change the MAC address of the node:

 makedhcp -d <nodename>
 chdef -t node -o  <nodename> mac=<new-mac>
 makedhcp <nodename>

The B<nodechmac> command changes the MAC address for provisioned node's network interface.

You can use this command to keep an existing node configuration. For example, if an existing node has hardware problems, the replacement node can use the old configurations. By using the nodechmac command, the node name and network settings of the old node can be used by the new node.

=head1 OPTIONS

B<-h|--help>

Display usage message.

B<-v|--version>

Command Version.

I<node-name>

Specifies the name of the node you want to update, where <node-name> is the node that is updated.

B<mac=>I<mac-address>

Sets the new MAC address for the NIC used by the provisioning node, where <mac-address> is the NICs new MAC address.

=head1 RETURN VALUE

0  The command completed successfully.

1  An error has occurred.

=head1 EXAMPLES

You can update the MAC address for a node, by using the following command:

 nodechmac compute-000 mac=2F:3C:88:98:7E:01

=head1 SEE ALSO


