Ubuntu Advantage Charmers Ubuntu Advantage

  • By Ubuntu Advantage Charmers
Channel Version Revision Published Runs on
latest/stable 6 6 06 May 2021
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
juju deploy ubuntu-advantage-charmers-ubuntu-advantage
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.

Platform:

Ubuntu
20.04 18.04 16.04

About

This charm enables Ubuntu Advantage (https://ubuntu.com/advantage) subscriptions Read more


Relevant links


Discuss this charm

Share your thoughts on this charm with the community on discourse.

Join the discussion

Ubuntu Advantage charm

Description

This charm enables Ubuntu Advantage (https://ubuntu.com/advantage) subscriptions

Usage

Be sure to replace <token> with a valid value from https://ubuntu.com/advantage

juju deploy cs:ubuntu
juju deploy cs:~ubuntu-advantage-charmers/ubuntu-advantage --config token=<token>
juju add-relation ubuntu ubuntu-advantage

Developing

Create and activate a virtualenv with the development requirements:

virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements-dev.txt

Testing

The Python operator framework includes a very nice harness for testing operator behaviour without full deployment. Just run_tests:

./run_tests