summaryrefslogtreecommitdiff
path: root/aif.xml
blob: e9165ca232e44c18b740d2cfdc1fefce61a50561 (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
<?xml version="1.0" encoding="UTF-8" ?>
<aif xmlns:aif="https://aif.square-r00t.net"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="https://aif.square-r00t.net aif.xsd">
    <storage>
        <disk device="/dev/sda" diskfmt="gpt">
            <part num="1" start="0%" size="10%" fstype="ef00" />
            <part num="2" start="10%" size="80%" fstype="8300" />
            <part num="3" start="80%" size="100%" fstype="8200" />
        </disk>
        <mount source="/dev/sda2" target="/mnt/aif" order="1" />
        <mount source="/dev/sda1" target="/mnt/aif/boot" order="2" />
        <mount source="/dev/sda3" target="swap" order="3" />
    </storage>
    <network hostname="aiftest.square-r00t.net">
        <iface device="auto" address="auto" netproto="ipv4" />
    </network>
    <system timezone="EST5EDT" locale="en_US.UTF-8" chrootpath="/mnt/aif">
        <!-- note: all password hashes below are "test"; don't waste your time trying to crack. :) -->
        <users rootpass="$6$3YPpiS.l3SQC6ELe$NQ4qMvcDpv5j1cCM6AGNc5Hyg.rsvtzCt2VWlSbuZXCGg2GB21CMUN8TMGS35tdUezZ/n9y3UFGlmLRVWXvZR.">
            <user name="aifusr"
                  sudo="true"
                  password="$6$WtxZKOyaahvvWQRG$TUys60kQhF0ffBdnDSJVTA.PovwCOajjMz8HEHL2H0ZMi0bFpDTQvKA7BqzM3nA.ZMAUxNjpJP1dG/eA78Zgw0"
                  comment="A test user for AIF.">
                <home path="/opt/aifusr" create="true" />
                <xgroup name="admins" create="true" />
                <xgroup name="wheel" />
                <xgroup name="users" />
            </user>
        </users>
        <service name="sshd" status="0" />
    </system>
    <pacman>
        <repos>
            <repo name="core" enabled="true" siglevel="default" mirror="file:///etc/pacman.d/mirrorlist" />
            <repo name="extra" enabled="true" siglevel="default" mirror="file:///etc/pacman.d/mirrorlist" />
            <repo name="community" enabled="true" siglevel="default" mirror="file:///etc/pacman.d/mirrorlist" />
            <repo name="multilib" enabled="true" siglevel="default" mirror="file:///etc/pacman.d/mirrorlist" />
            <repo name="testing" enabled="false" siglevel="default" mirror="file:///etc/pacman.d/mirrorlist" />
            <repo name="multilib-testing" enabled="false" siglevel="default" mirror="file:///etc/pacman.d/mirrorlist" />
            <repo name="archlinuxfr" enabled="false" siglevel="Optional TrustedOnly" mirror="http://repo.archlinux.fr/$arch" />
        </repos>
        <mirrorlist>
            <mirror>http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch</mirror>
            <mirror>http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch</mirror>
            <mirror>http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch</mirror>
            <mirror>http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch</mirror>
            <mirror>http://arch.mirrors.ionfish.org/$repo/os/$arch</mirror>
            <mirror>http://mirrors.gigenet.com/archlinux/$repo/os/$arch</mirror>
            <mirror>http://mirror.jmu.edu/pub/archlinux/$repo/os/$arch</mirror>
        </mirrorlist>
        <software>
            <package name="sed" repo="core" />
            <package name="python" />
            <package name="perl" />
            <package name="openssh" />
        </software>
    </pacman>
    <bootloader type="grub" target="/boot" efi="true" />
    <scripts>
        <script uri="https://aif.square-r00t.net/sample-scripts/post/first.sh" order="1" bootstrap="0" />
        <script uri="https://aif.square-r00t.net/sample-scripts/pre/second.pl" order="2" bootstrap="1" />
        <script uri="https://aif.square-r00t.net/sample-scripts/pre/first.sh" order="1" bootstrap="1" />
        <script uri="https://aif.square-r00t.net/sample-scripts/post/second.py" order="2" bootstrap="0" />
    </scripts>
</aif>