Skip to content

XMAKEHOSTS

Dan Barrett edited this page Feb 28, 2017 · 3 revisions

NAME

xmakehosts - create etc/hosts.xia

DESCRIPTION

xmakehosts host [host] ...

create etc/hosts.xia on the specified hosts & routers

options:

host ...
host(s) to include in the hosts.xia file
-h, --help
display this help
-v, --version
display the version number
### example:

xmakehosts host1 router1 example.com 192.168.1.1

warning:

hosts.xia on the local and specified machines will be overwritten with the new entries

note:

  • XIA must be running and installed in the same location on each machine for this script to work
  • names specified on the command line can be IP addresses or resolvable host names
  • connections are made via TCP/IP using ssh & scp rather than over XIA
Clone this wiki locally