Skip to content

Commit 1522b7d

Browse files
committed
Added etc-hosts example to readme
1 parent 28fcafb commit 1522b7d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

elements/etc-hosts/README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@ etc-hosts
44
Appends text to /etc/hosts.
55

66
`DIB_ETC_HOSTS_EXTRA`: Lines to add to /etc/hosts
7+
8+
For example:
9+
10+
.. code-block::
11+
12+
export DIB_ETC_HOSTS_EXTRA="192.168.20.1 compute-host-01"
13+
14+
Or:
15+
16+
export DIB_ETC_HOSTS_EXTRA=`cat ./my-hosts`

0 commit comments

Comments
 (0)