forked from linux/documentation
document how to add static host entries
This commit is contained in:
1 parent
122562be68
commit
00784d0a32
2 files changed
+15
No files matched your search
@@ -57,6 +57,7 @@ chapters:
|
||||
- file: admin-guide/configuration/basic
|
||||
sections:
|
||||
- file: admin-guide/configuration/basic/networking
|
||||
- file: admin-guide/configuration/basic/static_host_entries
|
||||
- file: admin-guide/configuration/basic/host_rename
|
||||
- file: admin-guide/configuration/basic/puppet_agent
|
||||
- file: admin-guide/configuration/basic/ntp_client
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
# Static Host Entries
|
||||
|
||||
You can add static host entries to `/etc/hosts` in Hiera with
|
||||
|
||||
```
|
||||
networking::static_host_entries:
|
||||
'192.168.8.73':
|
||||
- 'test1'
|
||||
- 'test1.psi.ch'
|
||||
'192.168.8.88':
|
||||
- 'test2'
|
||||
- 'test2.psi.ch'
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user