diff options
Diffstat (limited to 'doc/eclat.conf.5')
-rw-r--r-- | doc/eclat.conf.5 | 51 |
1 files changed, 36 insertions, 15 deletions
diff --git a/doc/eclat.conf.5 b/doc/eclat.conf.5 index 9b43dbe..30b5b81 100644 --- a/doc/eclat.conf.5 +++ b/doc/eclat.conf.5 @@ -13,7 +13,7 @@ .\" .\" You should have received a copy of the GNU General Public License .\" along with Eclat. If not, see <http://www.gnu.org/licenses/>. -.TH ECLAT.CONF 5 "January 19, 2013" "ECLAT" "Eclat User Reference" +.TH ECLAT.CONF 5 "April 26, 2013" "ECLAT" "Eclat User Reference" .SH NAME eclat.conf \- configuration file for .BR eclat (1). @@ -596,13 +596,13 @@ to ask for confirmation if one of the destructive commands is requested, or if the command is start-instance or stop-instance. .PP Here is an example of how this modifies the behavior of -.B freeaddr +.B rmaddr command: .PP .nf .if +2 -$ \fBeclat freeaddr 192.168.0.1\fR -Proceed with freeaddr [Y/n] _ +$ \fBeclat rmaddr 192.168.0.1\fR +Proceed with release-address [Y/n] _ .fi .PP If the response begins with \fBY\fR (case-insensitive), it is taken @@ -625,30 +625,51 @@ resource identifiers. See the section .B MAPS in .BR eclat (1), -for the discussion of the subject. +for the discussion of the subject. The translation is disabled by +default. This can be changed using the following statement: +.TP +\fBtranslate\fR \fIBOOL\fR +Depending on its argument, enables or disables ID translation by +default. .PP A map is declared using the following statement: .sp .nf - map \fIname\fR { - type \fIbackend\-type\fR; - key \fItrans\fR; - /* \fIType-specific statements.\fR */ - } +.in +4 +\fBmap\fR \fIname\fR { + \fBtype\fR \fIbackend\-type\fR; + \fBkey\fR \fItrans\fR; + /* \fIType-specific statements.\fR */ +} .fi -.sp +.PP The \fIname\fR argument is used to identify the map. A map can be used from the command line using the \fB\--map=\fIname\fR option. The following names are special: .TP +.B ImageId +Translates AMI names to IDs. +.TP .B InstanceId -This map translates instance names to instance IDs. +Translates instance names to IDs. +.TP +.B GroupId +Translates security group names to Amazon group IDs. .TP .B GroupName -Translates the security group name to its Amazon name. +Translates security group names to Amazon names. .TP -.B GroupId -Translates the security group name to its Amazon group ID. +.B SnapshotId +Translates snapshot names to IDs. +.TP +.B VolumeId +Translates volume names to IDs. +.TP +.B AZ +Translates availability region names to Amazon names. +.TP +.B reg +Translates region names to Amazon region names. .PP The \fIbackend\-type\fR declares the type of this map. Depending on this type, several sets of type-specific statements can be present. |