update-cluster-remove(1)
NAME
update-cluster-remove - parses configuration file and re-indents, and
removes selected parts
SYNOPSIS
update-cluster-remove [OPTION] ... < input-filename
DESCRIPTION
update-cluster-remove accepts XML input from standard input, and parses
the content and outputs an indented XML file to the standard output,
with the specified entries removed.
When no entries are specified, it is a pretty-formatter.
OPTIONS
- --ip [ip-address]
- Specify the ip address of the system to be removed from the list.
- --mac [MAC-address]
- Specify the MAC address of the system to be removed from the list.
- --master
- Specify the nodes which have a notes
content saying master to be excluded.
- --bootmaster [bootmaster IP]
- Specify the nodes with the bootmaster to be removed from the list. Usually used with the --not option.
- --not Reverse the whole logic.
- --failfound
- Instead of the usual behavior, exit immediately with exit code of 1 as soon as something to output is found.
- --help Emits a short help message.
EXAMPLES
- update-cluster-remove < cluster.xml
- Pretty-print cluster.xml
- update-cluster-remove --not --failfound --mac 00:11:22:33:44:55 < cluster.xml
- Exit with 1 if MAC address 00:11:22:33:44:55 is registered in cluster.xml database.
EXIT STATUS
When no problem is encountered, returns with 0, and on error , exits
with 1. One exception is when --failfound is specified, where it will
return 1 when it succeeds also.
NOTES
Please see the sample files, and read the README.Debian file included. This command is intended to be used internally by the files in /usr/lib/update-cluster/*.updatelist
AUTHOR
Written by Junichi Uekawa <dancer@debian.org>, <dancer@netfort.gr.jp>, <dancer@mikilab.doshisha.ac.jp> for Debian Project.
SEE ALSO
- update-cluster-add (8), update-cluster-regenerate (8), update-clusterparseconfig (1)