summaryrefslogtreecommitdiff
path: root/docs/examples/aif-sample-intermediate.json.txt
blob: 7b4ff6b75320d352d02e0774627c0221467ca68a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{'boot': {'bootloader': 'grub', 'efi': True, 'target': '/boot'},
 'disks': {'/dev/sda': {'fmt': 'gpt',
                        'parts': {1: {'fstype': '8300',
                                      'start': '0%',
                                      'stop': '95%'},
                                  2: {'fstype': 'ef00',
                                      'start': '95%',
                                      'stop': '100%'}}},
           '/dev/sdb': {'fmt': 'gpt',
                        'parts': {1: {'fstype': '8300',
                                      'start': '0%',
                                      'stop': '47%'},
                                  2: {'fstype': '8300',
                                      'start': '47%',
                                      'stop': '95%'},
                                  3: {'fstype': '8200',
                                      'start': '95%',
                                      'stop': '100%'}}}},
 'mounts': {1: {'device': '/dev/sda1',
                'fstype': 'ext4',
                'opts': 'defaults',
                'target': '/mnt/aif'},
            2: {'device': '/dev/sda2',
                'fstype': 'vfat',
                'opts': 'rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro',
                'target': '/mnt/aif/boot'},
            3: {'device': '/dev/sdb1',
                'fstype': 'ext4',
                'opts': 'defaults',
                'target': '/mnt/aif/home'},
            4: {'device': '/dev/sdb2',
                'fstype': 'ext4',
                'opts': 'defaults',
                'target': '/mnt/aif/mnt/data'},
            5: {'device': '/dev/sdb3',
                'fstype': False,
                'opts': False,
                'target': 'swap'}},
 'network': {'hostname': 'aif.loc.lan',
             'ifaces': {'ens3': {'address': 'auto',
                                 'gw': False,
                                 'proto': 'ipv4',
                                 'resolvers': False},
                        'ens4': {'address': '192.168.1.2/24',
                                 'gw': '192.168.1.1',
                                 'proto': 'ipv4',
                                 'resolvers': ['4.2.2.1', '4.2.2.2']}}},
 'scripts': {'pkg': False,
             'post': {1: {'auth': 'digest',
                          'password': 'password',
                          'realm': 'realmname',
                          'uri': 'https://aif.square-r00t.net/sample-scripts/post/first.sh',
                          'user': 'test'}},
             'pre': False},
 'software': {'mirrors': ['http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch',
                          'http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch',
                          'http://arch.mirror.constant.com/$repo/os/$arch',
                          'http://mirror.vtti.vt.edu/archlinux/$repo/os/$arch',
                          'http://arch.mirrors.pair.com/$repo/os/$arch',
                          'http://mirror.yellowfiber.net/archlinux/$repo/os/$arch'],
              'packages': {'openssh': None},
              'pkgr': False,
              'repos': {'community': {'enabled': True,
                                      'mirror': 'file:///etc/pacman.d/mirrorlist',
                                      'siglevel': 'default'},
                        'community-testing': {'enabled': False,
                                              'mirror': 'file:///etc/pacman.d/mirrorlist',
                                              'siglevel': 'default'},
                        'core': {'enabled': True,
                                 'mirror': 'file:///etc/pacman.d/mirrorlist',
                                 'siglevel': 'default'},
                        'extra': {'enabled': True,
                                  'mirror': 'file:///etc/pacman.d/mirrorlist',
                                  'siglevel': 'default'},
                        'multilib': {'enabled': True,
                                     'mirror': 'file:///etc/pacman.d/mirrorlist',
                                     'siglevel': 'default'},
                        'multilib-testing': {'enabled': False,
                                             'mirror': 'file:///etc/pacman.d/mirrorlist',
                                             'siglevel': 'default'}}},
 'system': {'chrootpath': '/mnt/aif',
            'kbd': 'US',
            'locale': 'en_US.UTF-8',
            'reboot': True,
            'rootpass': '$6$aIK0xvxLa/9BTEDu$xFskR0cQcEi273I8dgUtyO7WjjhHUZOfyS6NemelPgfMJORxbjgI6QCW6wEcCh7NVA1qGDpS0Lyg9vDCaRnA9/',
            'services': {'sshd': True},
            'timezone': 'UTC',
            'users': {'aifusr': {'comment': 'A Test User',
                                 'gid': False,
                                 'group': False,
                                 'home': False,
                                 'password': '$6$arRyKn/VsusyJNQo$huX4aa1aJPzRMyyqeEw6IxC1KC1EKKJ8RXdQp6W68Yt7SVdHjwU/fEDvPb3xD3lUHOQ6ysLKWLkEXFNYxLpMf1',
                                 'sudo': True,
                                 'uid': False,
                                 'xgroups': {'users': {'create': False,
                                                       'gid': False}}}}}}