aif-ng/docs/examples/aif.xml

67 lines
3.8 KiB
XML
Raw Permalink Normal View History

2017-03-06 07:32:34 -05:00
<?xml version="1.0" encoding="UTF-8" ?>
2017-03-20 18:11:29 -04:00
<aif xmlns:aif="https://aif.square-r00t.net"
2017-03-07 18:36:56 -05:00
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://aif.square-r00t.net aif.xsd">
2017-03-06 07:48:42 -05:00
<storage>
2017-03-08 07:48:29 -05:00
<disk device="/dev/sda" diskfmt="gpt">
2017-05-15 02:46:24 -04:00
<part num="1" start="0%" stop="10%" fstype="ef00" />
<part num="2" start="10%" stop="80%" fstype="8300" />
<part num="3" start="80%" stop="100%" fstype="8200" />
2017-03-06 07:48:42 -05:00
</disk>
<mount source="/dev/sda2" target="/mnt/aif" order="1" />
2017-05-04 04:16:38 -04:00
<mount source="/dev/sda1" target="/mnt/aif/boot" order="2" />
<mount source="/dev/sda3" target="swap" order="3" />
2017-03-06 07:48:42 -05:00
</storage>
2017-03-06 08:30:31 -05:00
<network hostname="aiftest.square-r00t.net">
2017-03-08 07:48:29 -05:00
<iface device="auto" address="auto" netproto="ipv4" />
2017-03-06 08:30:31 -05:00
</network>
<system timezone="EST5EDT" locale="en_US.UTF-8" chrootpath="/mnt/aif" reboot="0">
2017-03-06 08:30:31 -05:00
<!-- note: all password hashes below are "test"; don't waste your time trying to crack. :) -->
2017-03-08 11:50:06 -05:00
<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" />
2017-03-08 11:50:06 -05:00
</system>
2017-03-06 08:30:31 -05:00
<pacman>
<repos>
2017-03-08 11:50:06 -05:00
<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" />
2017-03-06 08:30:31 -05:00
</repos>
<mirrorlist>
2017-03-08 11:50:06 -05:00
<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>
2017-03-06 08:30:31 -05:00
</mirrorlist>
<software>
<package name="sed" repo="core" />
<package name="python" />
<package name="perl" />
<package name="openssh" />
2017-03-06 08:30:31 -05:00
</software>
</pacman>
2017-03-08 11:50:06 -05:00
<bootloader type="grub" target="/boot" efi="true" />
<scripts>
2017-05-06 07:49:23 -04:00
<script uri="https://aif.square-r00t.net/sample-scripts/post/first.sh" order="1" execution="post" />
<script uri="https://aif.square-r00t.net/sample-scripts/pre/second.pl" order="2" execution="pre" />
<script uri="https://aif.square-r00t.net/sample-scripts/pre/first.sh" order="1" execution="pre" />
<script uri="https://aif.square-r00t.net/sample-scripts/post/second.py" order="2" execution="post" />
</scripts>
2017-03-07 18:36:56 -05:00
</aif>