From 7035dfc4902e3bf4701ff304a666ddd2d0375219 Mon Sep 17 00:00:00 2001 From: brent s Date: Wed, 8 Mar 2017 11:50:06 -0500 Subject: [PATCH] WHOOHOO! it validates finally... --- TODO | 11 +++- aif.xml | 84 ++++++++++------------------ aif.xsd | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++++---- 3 files changed, 194 insertions(+), 68 deletions(-) diff --git a/TODO b/TODO index 084c5b4..49398ee 100644 --- a/TODO +++ b/TODO @@ -8,6 +8,16 @@ bf566e594a2ad3e488fef7cfa6832d4ba857d8129b0c00fe3a096e9fbb85e92c268368a201f12f22 ... + +it seems urllib in python3 doesn't support ftps, so you'll need to use ftplib if so. + +server = ftplib.FTP_TLS(server, user, password) +server.login(user, password) +server.prot_p() +server.retrlines("RETR " + filepath) + +should do it. + - use sgdisk? scripting (generated by python) for disk partitioning (part types listed at http://www.rodsbooks.com/gdisk/walkthrough.html ) -- actually, might want to use parted --script instead? then we can do percentages. https://www.gnu.org/software/parted/manual/parted.html https://unix.stackexchange.com/questions/200582/scripteable-gpt-partitions-using-parted @@ -23,7 +33,6 @@ parser: make sure to use https://mikeknoop.com/lxml-xxe-exploit/ fix need to set proper location block for https://aif.square-r00t.net/aif.xsd - xmllint --noout --schema aif.xsd aif.xml docs: diff --git a/aif.xml b/aif.xml index 112a001..a0177c2 100644 --- a/aif.xml +++ b/aif.xml @@ -13,70 +13,42 @@ - - + - - $6$3YPpiS.l3SQC6ELe$NQ4qMvcDpv5j1cCM6AGNc5Hyg.rsvtzCt2VWlSbuZXCGg2GB21CMUN8TMGS35tdUezZ/n9y3UFGlmLRVWXvZR. - - - aifusr - A test user for AIF. - true - aifusr - $6$WtxZKOyaahvvWQRG$TUys60kQhF0ffBdnDSJVTA.PovwCOajjMz8HEHL2H0ZMi0bFpDTQvKA7BqzM3nA.ZMAUxNjpJP1dG/eA78Zgw0 - - - - - - + + + + + + + + + - - enabled - Include = /etc/pacman.d/mirrorlist - - - enabled - Include = /etc/pacman.d/mirrorlist - - - enabled - Include = /etc/pacman.d/mirrorlist - - - disabled - Include = /etc/pacman.d/mirrorlist - - - disabled - Include = /etc/pacman.d/mirrorlist - - - disabled - Include = /etc/pacman.d/mirrorlist - - - disabled - http://repo.archlinux.fr/$arch - Never - + + + + + + + - http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch - http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch - http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch - http://arch.mirrors.ionfish.org/$repo/os/$arch - http://mirrors.gigenet.com/archlinux/$repo/os/$arch - http://mirror.jmu.edu/pub/archlinux/$repo/os/$arch + http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch + http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch + http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch + http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch + http://arch.mirrors.ionfish.org/$repo/os/$arch + http://mirrors.gigenet.com/archlinux/$repo/os/$arch + http://mirror.jmu.edu/pub/archlinux/$repo/os/$arch - - GRUB - /boot - + diff --git a/aif.xsd b/aif.xsd index 5c684b5..ddef125 100644 --- a/aif.xsd +++ b/aif.xsd @@ -53,13 +53,49 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -126,9 +162,126 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -150,13 +303,5 @@ - - - - - - - - \ No newline at end of file