Skip to content
package

GitHub Action

Setup MAAS

v0.1.0 Latest version

Setup MAAS

package

Setup MAAS

Install and configure MAAS

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup MAAS

uses: canonical/[email protected]

Learn more about this action in canonical/setup-maas

Choose a version

Setup MAAS GitHub Action

Tests

A GitHub Action for installing and configuring MAAS

Usage

Setup

Commands

MAAS with empty test database
- name: Setup MAAS
  uses: canonical/setup-maas@main
MAAS with pre-populated test database
- name: Setup MAAS
  uses: canonical/setup-maas@main
  with:
    use-maasdb-dump: true

Create a new user

To add a new user, use the maas createadmin command in the next step

- name: Create MAAS admin
  run: sudo maas createadmin --username=admin --password=test [email protected]