This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## cloud-init steps | |
# Save the cloud-init-quickstart.yaml file as cloud-init.yaml | |
curl -o cloud-init.yaml https://raw.githubusercontent.com/canonical/landscape-scripts/main/provisioning/cloud-init-quickstart.yaml | |
# Define your VARIABLES | |
# EMAIL: Your email address to share with LetsEncrypt for your SSL Certificate | |
# PRO_TOKEN: Ubuntu Pro token from: https://ubuntu.com/pro/dashboard (not needed for Ubuntu Pro instances on Azure, AWS, or Google Cloud) | |
# HOSTNAME: subdomain of FQDN (e.g. `server` for `server.yourdomain.com`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Install Landscape Client | |
hosts: your_target_hosts | |
become: yes | |
vars: | |
landscape_account: "YOUR_LANDSCAPE_ACCOUNT_NAME" | |
landscape_computer: "YOUR_LANDSCAPE_COMPUTER_TITLE" | |
tasks: | |
- name: Update apt cache | |
apt: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
bucket=name-of-your-bucket | |
dirs=( | |
~/relative/path | |
../relative/path2 | |
/absolute/path/ | |
/Volumes/Macintosh HD/full/absolute/path | |
) |