Created
January 19, 2012 08:46
-
-
Save changtimwu/1638825 to your computer and use it in GitHub Desktop.
an example setting file in yaml format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #simple key value | |
| ip: 192.168.12.33 | |
| dmac: '55:33:44:22:11' | |
| #array | |
| hwifs: | |
| - eth0 | |
| - eth1 | |
| - en2 | |
| monthes: | |
| - jan | |
| - feb | |
| - march | |
| - aprial | |
| trunking_groups: | |
| - groupid: 1 | |
| members: [1,2,3] | |
| - groupid: 2 | |
| members: [4,5,6] | |
| #hash | |
| mtd0: | |
| size: 30000 | |
| offset: 0x80000 | |
| name: 'kernel' | |
| shop: | |
| name: 'burger king' | |
| address: 'victory st. east road' | |
| #array in hash | |
| dishes1: | |
| - soda | |
| - pepsi | |
| - burger | |
| #hash in array in hash | |
| dishes2: | |
| - name: soda | |
| price: 30 | |
| - name: pepsi | |
| price: 40 | |
| - name: burger | |
| price: 100 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment