Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. To activate your existing virtual instances, just execute the following vss-cli command:

    Code Block
    vss-cli --wait compute vm set {vm_id-or-name} ubuntu-pro attach
  2. From Ubuntu, execute the following commands to enable Ubuntu Pro:

    Code Block
    sudo apt install ubuntu-advantage-pro ubuntu-advantage-tools
  3. Install livepatch from snap as follows:

    Code Block
    snap install canonical-livepatch
  4. Update contract_url in /etc/ubuntu-advantage/uaclient.conf with on-premise instance.

    Code Block
    sudo echo "contract_url: $(vmware-rpctool "info-get guestinfo.ut.vss.ubuntu_pro.endpoint")" > /etc/ubuntu-advantage/uaclient.conf
  5. Enable pro with

    Code Block
    sudo pro attach $(vmware-rpctool "info-get guestinfo.ut.vss.ubuntu_pro.token")
  6. Configure on-premise livepatch:

    Code Block
    canonical-livepatch config remote-server="$(vmware-rpctool "info-get guestinfo.ut.vss.ubuntu_pro.livepatch.endpoint")"
  7. Enable on-premise livepatch:

    Code Block
    canonical-livepatch enable $(vmware-rpctool "info-get guestinfo.ut.vss.ubuntu_pro.livepatch.token")
  8. Run apt update:

    Code Block
    sudo apt update

Canonical Cloud

  1. To activate your existing virtual instances, just execute the following vss-cli command:

    Code Block
    vss-cli --wait compute vm set {vm_id-or-name} ubuntu-pro attach
  2. From Ubuntu, execute the following commands to enable Ubuntu Pro:

    Code Block
    sudo apt install ubuntu-advantage-pro ubuntu-advantage-tools
  3. Enable pro with

    Code Block
    sudo pro attach $(vmware-rpctool "info-get guestinfo.ut.vss.ubuntu_pro.token")
  4. Run apt update:

    Code Block
    sudo apt update

🧐 Frequently Asked Questions (FAQ)

...