Template:Host: Difference between revisions

Template page
m (smw +location)
m (make swap, pam, userlogin, admins optional)
Line 14: Line 14:
|ssh_pam=
|ssh_pam=
|ssh_userlogin=
|ssh_userlogin=
|admins=
}}
}}
</pre>
</pre>
Line 21: Line 22:
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>[[Hostname::{{{name}}}]]</big>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>[[Hostname::{{{name}}}]]</big>
|-
|-
! Location
| Location
| [[Has location::{{{location|}}}]]
| [[Has location::{{{location|}}}]]
|-
|-
! Zweck
| Zweck
| {{{purpose|}}}
| {{{purpose|}}}
|-
|-
! OS
| OS
| [[Operating System::{{{os|}}}]]
| [[Operating System::{{{os|}}}]]
|-
|-
! Disks
| Disks
| {{{disk|}}}
| {{{disk|}}}
|-
|-
! RAM
| RAM
| {{{ram|}}}
| {{{ram|}}}
|-
|-
! Swap
{{#if:{{{swap|}}}|{{!}}Swap}}
| {{{swap|''none''}}}
{{#if:{{{swap|}}}|{{!}}{{{swap|}}}}}
|-
|-
! ssh key path
| ssh key path
| {{{ssh_root_keys|}}}
| {{{ssh_root_keys|}}}
|-
|-
! PAM?
{{#if:{{{ssh_pam|}}}|{{!}}PAM?}}
| {{{ssh_pam|}}}
{{#if:{{{ssh_pam|}}}|{{!}}{{{ssh_pam|}}}}}
|-
|-
! SSH user login?
{{#if:{{{ssh_userlogin|}}}|{{!}}SSH user login?}}
| {{{ssh_userlogin|}}}
{{#if:{{{ssh_userlogin|}}}|{{!}}{{{ssh_userlogin|}}}}}
|-
{{#if:{{{admins|}}}|{{!}}Admins}}
{{#if:{{{admins|}}}|{{!}}{{{admins|}}}}}
|}
|}
[[Category:Administration]]
[[Category:Administration]]
[[Category:Host]]
[[Category:Host]]
</includeonly>
</includeonly>

Revision as of 13:54, 17 June 2012

This is the 'Host' template. It should be called in the following format:

{{Host
|name=
|location=
|purpose=
|os=
|disk=
|ram=
|swap=
|ssh_root_keys=
|ssh_pam=
|ssh_userlogin=
|admins=
}}

Edit the page to see the template text.