2017-03-08 11:53:58 -05:00
|
|
|
- config layout
|
|
|
|
-- need to apply defaults and annotate/document
|
2017-03-08 11:50:06 -05:00
|
|
|
|
2017-04-27 05:08:39 -04:00
|
|
|
SCRATCH: find out where to run aif-pre.sh (runs on host) (rename to aif-pre.script)
|
2017-03-21 15:13:15 -04:00
|
|
|
and get a way to insert that and aif-post(.script) from the kernel params, etc.
|
|
|
|
remember to uncomment the functions in main() when ready to test
|
2017-04-27 05:08:39 -04:00
|
|
|
INSTEAD: scripts['setup']?
|
2017-03-08 11:50:06 -05:00
|
|
|
|
2017-03-06 07:53:21 -05:00
|
|
|
- add mkfs-ing
|
2017-03-20 18:11:29 -04:00
|
|
|
- how to support mdadm, lvm?
|
2017-01-16 18:59:13 -05:00
|
|
|
|
|
|
|
-support serverside "autoconfig"- a mechanism to let servers automatically generate xml build configs. e.g.:
|
|
|
|
kernel ... aif_url="https://build.domain.tld/aif-ng.php" auto=yes
|
|
|
|
would yield the *client* sending info via URL params, e.g.
|
|
|
|
https://build.domain.tld/aif-ng.php?disk[]=sda&disk[]=sdb&disk[sda]=300GB&disk[sdb]=500GB
|
|
|
|
? something like that.
|
2017-01-31 08:09:49 -05:00
|
|
|
|
|
|
|
parser: make sure to use https://mikeknoop.com/lxml-xxe-exploit/ fix
|
2017-03-06 07:40:20 -05:00
|
|
|
|
2017-04-26 04:56:57 -04:00
|
|
|
convert use of confobj or whatever to maybe be suitable to use webFetch instead. LOTS of duplicated code there.
|
|
|
|
|
|
|
|
need to write docs
|
|
|
|
|
2017-04-27 05:08:39 -04:00
|
|
|
need to double-check aif.xsd spec for the packaging command- can i specify a single element?
|
|
|
|
finish up software/packages section
|
2017-03-07 18:36:56 -05:00
|
|
|
|
|
|
|
docs:
|
|
|
|
http://lxml.de/parsing.html
|
|
|
|
https://www.w3.org/2001/XMLSchema.xsd
|
|
|
|
http://lxml.de/validation.html#xmlschema
|
|
|
|
https://stackoverflow.com/questions/3084155/custom-attributes-in-an-xsd-schema
|
|
|
|
https://www.w3schools.com/xml/schema_intro.asp
|
|
|
|
https://www.w3schools.com/xml/schema_example.asp
|
|
|
|
https://msdn.microsoft.com/en-us/library/dd489258.aspx
|
|
|
|
|