The main repository and PPA installation methods are suitable when performing the installation through a terminal or shell scripting. Cloud Init is suitable if it is available during a machine's provisioning stage, and the subordinate charm is most appropriate when using charmed operators.
-- -
Install
--
-
-
-
Install the package
---
-sudo apt update && sudo apt install -y landscape-client
-
+ The main repository and PPA installation methods are suitable when performing the installation through a terminal or shell scripting. Cloud Init is suitable if it is available during a machine's provisioning stage, and the subordinate charm is most appropriate when using charmed operators. +
- -
Configure
--
-
-
-
Define parameters in variables
-Self-hosted Landscape users should set LANDSCAPE_ACCOUNT_NAME as
-standalone
, Landscape SaaS customers should specify their account name and set LANDSCAPE_FQDN aslandscape.canonical.com
.-LANDSCAPE_ACCOUNT_NAME='standalone' +
+
+ +++++Install
+++-
+
-
+
Install the package
+++
+sudo apt update && sudo apt install -y landscape-client
+
+ ++++Configure
+++ +-
+
-
+
Define parameters in variables
++ Self-hosted Landscape users should set LANDSCAPE_ACCOUNT_NAME as
+standalone
, Landscape SaaS customers should specify their account name and set LANDSCAPE_FQDN aslandscape.canonical.com
. ++-
-LANDSCAPE_ACCOUNT_NAME='standalone' LANDSCAPE_FQDN='landscape.example.com' LANDSCAPE_COMPUTER_TITLE='My Computer'
- -
-
Configure
---
-sudo landscape-config --silent --account-name="${LANDSCAPE_ACCOUNT_NAME}" --computer-title="${LANDSCAPE_COMPUTER_TITLE}" --tags="" --script-users='nobody,landscape,root'
-
- +
+ +Configure
+++
+sudo landscape-config --silent --account-name="${LANDSCAPE_ACCOUNT_NAME}" --computer-title="${LANDSCAPE_COMPUTER_TITLE}" --tags="" --script-users='nobody,landscape,root'
-
+
Install
--
-
-
-
Install prerequisites
---
-sudo apt update && sudo apt install -y software-properties-common
- -
-
Add the PPA
---
-sudo add-apt-repository -y ppa:landscape/self-hosted-23.03
- -
-
Install
---
-sudo apt update && sudo apt install -y landscape-client
-
- -
Configure
--
-
-
-
Define parameters in variables
-Self-hosted Landscape users should set LANDSCAPE_ACCOUNT_NAME as
-standalone
, Landscape SaaS customers should specify their account name and set LANDSCAPE_FQDN aslandscape.canonical.com
.-LANDSCAPE_ACCOUNT_NAME='standalone' +
++++Install
+++-
+
-
+
Install prerequisites
+++
+sudo apt update && sudo apt install -y software-properties-common
+ -
+
Add the PPA
+++
+sudo add-apt-repository -y ppa:landscape/self-hosted-24.04
+ -
+
Install
+++
+sudo apt update && sudo apt install -y landscape-client
+
+ ++++Configure
+++ +-
+
-
+
Define parameters in variables
++ Self-hosted Landscape users should set LANDSCAPE_ACCOUNT_NAME as
+standalone
, Landscape SaaS customers should specify their account name and set LANDSCAPE_FQDN aslandscape.canonical.com
. ++-
-LANDSCAPE_ACCOUNT_NAME='standalone' LANDSCAPE_FQDN='landscape.example.com' LANDSCAPE_COMPUTER_TITLE='My Computer'
- -
-
Configure
---
-sudo landscape-config --silent --account-name="${LANDSCAPE_ACCOUNT_NAME}" --computer-title="${LANDSCAPE_COMPUTER_TITLE}" --tags='' --script-users='nobody,landscape,root' --ping-url="http://${LANDSCAPE_FQDN}/ping" --url="https://${LANDSCAPE_FQDN}/message-system"
-
- +
+ +Configure
+++
+sudo landscape-config --silent --account-name="${LANDSCAPE_ACCOUNT_NAME}" --computer-title="${LANDSCAPE_COMPUTER_TITLE}" --tags='' --script-users='nobody,landscape,root' --ping-url="http://${LANDSCAPE_FQDN}/ping" --url="https://${LANDSCAPE_FQDN}/message-system"
-
+
Install
--
-
-
-
Define parameters in variables
-Self-hosted Landscape users should set LANDSCAPE_ACCOUNT_NAME as
-standalone
, Landscape SaaS customers should specify their account name and set LANDSCAPE_FQDN aslandscape.canonical.com
.-- -LANDSCAPE_ACCOUNT_NAME='standalone' +
+-+- ++++Install
+++ +-
+
-
+
Define parameters in variables
++ Self-hosted Landscape users should set LANDSCAPE_ACCOUNT_NAME as
+standalone
, Landscape SaaS customers should specify their account name and set LANDSCAPE_FQDN aslandscape.canonical.com
. ++-
-LANDSCAPE_ACCOUNT_NAME='standalone' LANDSCAPE_FQDN='landscape.example.com'
- -
-
Deploy the charm
---
-juju deploy landscape-client --config account-name='standalone' --config tags='' --config script-users='nobody,landscape,root' --config ping-url="http://${LANDSCAPE_FQDN}/ping" --config url="https://${LANDSCAPE_FQDN}/message-system"
-
- +
+ +Deploy the charm
+++
+juju deploy landscape-client --config account-name='standalone' --config tags='' --config script-users='nobody,landscape,root' --config ping-url="http://${LANDSCAPE_FQDN}/ping" --config url="https://${LANDSCAPE_FQDN}/message-system"
- -----Configure
---
-
-
-
Relate the charm
---
-juju relate landscape-client <charm-name>
-
+ ++++Configure
++-
+
-
+
Relate the charm
+++
+juju relate landscape-client <charm-name>
+
--- + {% endblock content %} --+ +To install landscape-client from a PPA
--- -apt: + +
+-+- + - -+-To install landscape-client from a PPA
++
+apt: sources: trunk-testing-ppa: - source: ppa:landscape/self-hosted-23.03 + source: ppa:landscape/self-hosted-24.04
-Configure landscape-client
-To discover additional supported client keys visit the cloud-init Landscape module documentation.
-Self-hosted Landscape users should set account_name as `standalone` and define the url and ping_url keys. Landscape SaaS customers should specify their account name, and the url and ping_url keys can be omitted.
--landscape: +
+ ++Configure landscape-client
++ To discover additional supported client keys visit the cloud-init Landscape module documentation. +
++ Self-hosted Landscape users should set account_name as `standalone` and define the url and ping_url keys. Landscape SaaS customers should specify their account name, and the url and ping_url keys can be omitted. +
++
+landscape: client: account_name: standalone computer_title: "My Computer" url: "https://landscape.example.com/message-system" ping_url: "http://landscape.example.com/ping"
-
+