Versions Compared

Key

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

...

  1. Install the following packages in the client

    Code Block
    sudo snap install canonical-livepatch
  2. Configure the on-prem server

    Code Block
    canonical-livepatch config remote-server=$(vmware-rpctool "info-get guestinfo.ut.vss.ubuntu_pro.livepatch.endpoint")
  3. Verify configuration

    Code Block
    canonical-livepatch config

    output:

    Code Block
    root@backup-billing-db-dev:/home/oramirez# canonical-livepatch config
    http-proxy: ""
    https-proxy: ""
    no-proxy: ""
    remote-server: http://vss-ubuntu-livepatch.eis.utoronto.ca/
    ca-certs: ""
    check-interval: 60  # minutes
    log-level: WARNING
    disable-signature-verification: false
    tls-patch-download: false
  4. Enable the Livepatch updates with the token

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

    output:

    Code Block
    Successfully enabled device. Using machine-token: <RANDOM_NUMBERS_OF_TOKEN>
  5. Check status of Ubuntu Pro

    Code Block
    pro status

    output:

    Code Block
    SERVICE          ENTITLED  STATUS       DESCRIPTION
    anbox-cloud      yes       disabled     Scalable Android in the cloud
    esm-apps         yes       enabled      Expanded Security Maintenance for Applications
    esm-infra        yes       enabled      Expanded Security Maintenance for Infrastructure
    fips             yes       disabled     NIST-certified FIPS crypto packages
    fips-updates     yes       disabled     FIPS compliant crypto packages with stable security updates
    livepatch        yes       enabled      Canonical Livepatch service
    ros              yes       disabled     Security Updates for the Robot Operating System
    usg              yes       disabled     Security compliance and audit tools
    
    For a list of all Ubuntu Pro services, run 'pro status --all'
    Enable services with: pro enable <service>
    
                    Account: University of Toronto - EIS Private Cloud
               Subscription: Ubuntu Pro
                Valid until: Sat Jun 22 19:59:59 2024 EDT
    Technical support level: essential

  6. (Optional) If you are running Landscape, proceed to restart landscape-client, otherwise skip this step.

    Code Block
    systemctl restart landscape-client

...