mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 20:30:56 +00:00
Remove trailing spaces in file xCAT-client/pods/man1/mkdef.1.pod
This commit is contained in:
@ -11,7 +11,7 @@ B<mkdef> [B<-V>|B<--verbose>] [B<-t> I<object-types>] [B<--template> I<template-
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
This command is used to create xCAT object definitions which are stored in the xCAT database. If the definition already exists it will return an error message. The force option may be used to re-create a definition. In this case the old definition will be remove and the new definition will be created.
|
||||
This command is used to create xCAT object definitions which are stored in the xCAT database. If the definition already exists it will return an error message. The force option may be used to re-create a definition. In this case the old definition will be remove and the new definition will be created.
|
||||
|
||||
|
||||
=head1 OPTIONS
|
||||
@ -56,7 +56,7 @@ Name of the xCAT shipped object definition template or an existing object, from
|
||||
|
||||
Verbose mode.
|
||||
|
||||
=item B<-w> I<attr==val> B<-w> I<attr=~val> ...
|
||||
=item B<-w> I<attr==val> B<-w> I<attr=~val> ...
|
||||
|
||||
Use one or multiple -w flags to specify the selection string that can be used to select objects. The operators ==, !=, =~ and !~ are available. For mkdef command, the -w flag only makes sense for creating dynamic node group. Use the help option to get a list of valid attributes for each object type.
|
||||
|
||||
@ -151,15 +151,15 @@ To create a dynamic node group definition called SLESNodes containing all the SL
|
||||
|
||||
=item 10.
|
||||
|
||||
To create a entry (7.0) in the policy table for user admin1
|
||||
To create a entry (7.0) in the policy table for user admin1
|
||||
|
||||
mkdef -t policy -o 7.0 name=admin1 rule=allow
|
||||
mkdef -t policy -o 7.0 name=admin1 rule=allow
|
||||
|
||||
=item 11.
|
||||
|
||||
To create a node definition with nic attributes
|
||||
|
||||
mkdef -t node cn1 groups=all nicips.eth0="1.1.1.1|1.2.1.1" nicnetworks.eth0="net1|net2" nictypes.eth0="Ethernet"
|
||||
mkdef -t node cn1 groups=all nicips.eth0="1.1.1.1|1.2.1.1" nicnetworks.eth0="net1|net2" nictypes.eth0="Ethernet"
|
||||
|
||||
=item 12.
|
||||
|
||||
|
Reference in New Issue
Block a user