Install Landscape client

These examples will install and configure the Landscape client.

For a full list of keys, refer to the landscape module schema, or run man landscape-config.

Example 1

 1#cloud-config
 2landscape:
 3  client:
 4    url: https://landscape.canonical.com/message-system
 5    ping_url: http://landscape.canonical.com/ping
 6    data_path: /var/lib/landscape/client
 7    http_proxy: http://my.proxy.com/foobar
 8    https_proxy: https://my.proxy.com/foobar
 9    tags: server,cloud
10    computer_title: footitle
11    registration_key: fookey
12    account_name: fooaccount

Minimum viable config

The minimum viable Landscape config requires account_name and computer_title.

1#cloud-config
2landscape:
3  client:
4    computer_title: kiosk 1
5    account_name: Joe's Biz

Install from a PPA

To install landscape-client from a PPA, specify apt.sources.

1#cloud-config
2apt:
3  sources:
4    trunk-testing-ppa:
5      source: ppa:landscape/self-hosted-beta
6landscape:
7  client:
8    account_name: myaccount
9    computer_title: himom