Skip to content

Commit c9a2c0a

Browse files
committed
update: more detail for using templates
1 parent 34713a4 commit c9a2c0a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/commands/setup/.foam/templates/host.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ foam_template:
1616
is_dc: false
1717
ip: 10.10.10.10
1818
alias: ["${1:$TM_FILENAME_BASE}"] # if is DC, please set the dc hostname as the first alias, such as ["dc01.example.com"]
19+
is_current: false
20+
is_current_dc: false
21+
props:
22+
key: value
23+
ENV_KEY: exported_in_env
1924
```
2025
2126
```zsh

src/commands/setup/.foam/templates/user.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ foam_template:
1717
user: ${FOAM_TITLE/@(\S*)$//}
1818
password: pass
1919
nt_hash: fffffffffffffffffffffffffffffffffff
20+
is_current: false
21+
props:
22+
key: value
23+
ENV_KEY: exported_in_env
2024
```
2125
2226
```zsh

0 commit comments

Comments
 (0)