Skip to content

Ubuntu Charm

This charm provides a pristine Ubuntu cloud/server image. It does not provide any applications other than a blank cloud image. It is intended for testing, development, and as a base for manual machine management.

Usage

Deploy the charm:

juju deploy ubuntu

SSH to the instance:

juju ssh ubuntu/0

Note: With Juju 4, you need to set up an SSH key before you can SSH into units. See the Juju documentation on SSH keys.

Scaling out

This charm is not designed to be used at scale since it does not have any relations. However, you can still bulk add machines:

juju add-unit ubuntu      # Add one more
juju add-unit -n 5 ubuntu  # Add 5 at a time

You can also alias names to manage a set of Ubuntu instances:

juju deploy ubuntu mytestmachine1
juju deploy ubuntu mytestmachine2

Configuration

Option Type Default Description
hostname string "" Set the hostname of the machine. When empty, the default machine hostname is used.

Known Limitations

This charm does not provide anything other than a blank server. It does not support any relations other than subordinate charm relations.

Contact

About

This charm provides a blank Ubuntu image.

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages