~ubuntu-branches/debian/sid/apt-dater/sid

« back to all changes in this revision

Viewing changes to etc/hosts.xml.in

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2015-07-07 17:33:08 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20150707173308-7rkjhxnlq7gsykif
Tags: 1.0.2-1
* New upstream release.
  - Set the default of the opt-cmd-flags host option to "-t" since this is
    essential.
    Closes: #776392
  - Add new build dependency vim-common.
* Replace screen dependency with tmux.
* Create apt-dater group for session sharing.
* Add missing directories.
* Make the build reproducible.
  Closes: #789648
* Drop automake and autoconf build dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE hosts SYSTEM "@XMLSCHEMAURI@/hosts.dtd">
 
3
<!--
 
4
    Hosts file of apt-dater (parsed by libxml2)
 
5
    ===========================================
 
6
 
 
7
    hosts.xml configures the hosts which are managed by
 
8
    apt-dater. Host options (except 'name') are lookuped as attributes
 
9
    at the host node itself, the parent group node and the global
 
10
    /hosts/default node.
 
11
 
 
12
    The following attributes are known:
 
13
    - name    : visible name of the host or group (required)
 
14
    - comment : text shown in 'host details' screen
 
15
    - type    : transport type (default: 'generic-ssh')
 
16
    - ssh-user: overwrite SSH username
 
17
    - ssh-host: overwrite SSH host (defaults to @name)
 
18
    - ssh-port: overwrite SSH port
 
19
    - ssh-id  : overwrite SSH identification file
 
20
 
 
21
    Example:
 
22
 
 
23
    <hosts>
 
24
      <default ssh-user="admin"/>
 
25
 
 
26
      <group name="Internal Hosts" ssh-user="root">
 
27
        <host name="server1.internal"/>
 
28
        <host name="server2.internal"/>
 
29
        <host name="John's Machine" ssh-host="workstation.internal" />
 
30
      </group>
 
31
 
 
32
      <group name="External Hosts">
 
33
        <host name="external.ibh.net" ssh-port="443"/>
 
34
      </group>
 
35
 
 
36
      ...
 
37
 
 
38
    </hosts>
 
39
-->
 
40
 
 
41
<hosts xmlns:xi="http://www.w3.org/2001/XInclude">
 
42
  <group name="Localnet2">
 
43
    <host name="localhost2" comment="Edit /etc/apt-dater/hosts.xml!"/>
 
44
  </group>
 
45
</hosts>