- Scripting MAAS
test scripts
customizing scripts and running them in different order- Login to the MAAS API
- Use the Python API client
actions: NEXT maas-support-info: gathers information that helps to identify and characterise the machine for debugging purposes. *Runs in parallel with other scripts. :@O:30m:dw:hi:
actions: NEXT maas-lshw: pulls BIOS and vendor info, and generates user-defined tags for later use. *Runs in parallel with other scripts. :@O:30m:dw:hi:
actions: NEXT 20-maas-01-install-lldpd: installs the link layer discovery protocol (LLDP) daemon to capture networking information. :@O:30m:dw:hi:
actions: NEXT maas-list-modaliases: identifies the available hardware modules. *Runs in parallel with other scripts. :@O:30m:dw:hi:
actions: NEXT 20-maas-02-dhcp-unconfigured-ifaces: PXE comes online during boot; this script identifies other attached networks. :@O:30m:dw:hi:
actions: NEXT maas-get-fruid-api-data: gathers information for the Facebook wedge power type. *Runs in parallel with other scripts. :@O:30m:dw:hi:
actions: NEXT maas-serial-ports: finds the available serial ports. *Runs in parallel with other scripts. :@O:30m:dw:hi:
actions: NEXT 40-maas-01-network-interfaces: get the IP addresses associated with a VLANs/subnets; deprecated as of MAAS 3.0. :@O:30m:dw:hi:
actions: NEXT 50-maas-01-commissioning: gathers information on machine resources, such as storage, network devices, CPU, RAM, and attached USB and PCI devices. Also recognizes virtual machines. :@O:30m:dw:hi:
actions: NEXT maas-capture-lldp: gathers LLDP network information for logging. Runs in parallel with other scripts. :@O:30m:dw:hi:
actions: NEXT maas-kernel-cmdline: update the boot devices to use the correct boot interface. :@O:30m:dw:hi:
actions: NEXT We recommend running your scripts last, by naming 99-z. :@O:30m:ad:hi:
actions: NEXT Scripts can reboot a machine during commissioning using a script, but only firmware updates survive the reboot. :@O:30m:ad:hi:
actions: NEXT collapse special-case config topics? :@O:60m:dw:hi:
actions: NEXT collapse custom images/kernels/tags? :@O:60m:dw:hi:
actions: NEXT get some examples of pre-seeding curtin :@O:30m:dw:hi:
actions: NEXT get some examples of pre-seeding cloud-init :@O:30m:dw:hi: