summaryrefslogtreecommitdiff
path: root/docs/examples/aif-sample-intermediate.json
blob: 1f470bab791f0085ba88cb763379670e689440af (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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
    "boot": {
        "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": false,
    "software": {
        "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$OeSE5pp4BLWZUn6H$9Y.NO/2cUliOr.apu8qSmgmL4EbGei0u22cw1IANs0h6ek45t8bpHveY7rlHAlljd8PKIxvIRtY9bRCzV24h50",
        "services": {
            "sshd": true
        },
        "timezone": "UTC",
        "users": {
            "aifusr": {
                "comment": "A Test User",
                "gid": false,
                "group": false,
                "home": false,
                "password": "$6$RCL/E8zPTHoYjITS$MsBQ9DXibdRvjE8a0ak8F2OCzShcRg3vKXSyLAipokaIJvTwFWwlLda1MQr6zTzUxlFui.9Ep4k3B8vdRyBX6.",
                "sudo": true,
                "uid": false,
                "xgroups": {
                    "users": {
                        "create": false,
                        "gid": false
                    }
                }
            }
        }
    }
}