This shows you the differences between two versions of the page.
| — |
creating_centos_7_maas_images [2015/02/20 18:48] (current) anashwan created |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====Getting the Script==== | ||
| + | wget http:// | ||
| + | | ||
| + | tar -xzvf curtin-img-builder.tar.gz | ||
| + | cd curtin-img-builder/ | ||
| + | | ||
| + | ls -l build # our script | ||
| + | |||
| + | |||
| + | ====Getting Prerequisites==== | ||
| + | |||
| + | # to be used on ubuntu with virtualization capabilities | ||
| + | sudo tasksel # select virtual machine host | ||
| + | | ||
| + | # for any other prerequisites the script may require | ||
| + | sudo ./build --install-deps | ||
| + | |||
| + | |||
| + | ====Better Mirrors==== | ||
| + | |||
| + | The default mirrors make 200 kbps seem dreamy; change them from this file if you're not getting any younger: | ||
| + | |||
| + | curtin-image-builder/ | ||
| + | |||
| + | You can find CentOS mirrors [[http:// | ||
| + | |||
| + | |||
| + | ====Usage==== | ||
| + | |||
| + | # basic usage example: | ||
| + | sudo ./build --vcpus 2 -r 4096 -o / | ||
| + | |||
| + | |||
| + | ====Adding them to MaaS==== | ||
| + | |||
| + | # run as the MaaS user: | ||
| + | maas root boot-resources create name=centos/ | ||