From 50d4c83b4e051d2a05530cada8959fa3382e7b0b Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Tue, 5 Aug 2025 00:22:34 +0000 Subject: [PATCH] Update cheatsheets --- tldr/elasticsearch-create-enrollment-token | 29 ++++++++++++++++++++++ tldr/linux/bootctl | 4 +-- tldr/linux/pveam | 25 +++++++++++++++++++ 3 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 tldr/elasticsearch-create-enrollment-token create mode 100644 tldr/linux/pveam diff --git a/tldr/elasticsearch-create-enrollment-token b/tldr/elasticsearch-create-enrollment-token new file mode 100644 index 00000000..05f82293 --- /dev/null +++ b/tldr/elasticsearch-create-enrollment-token @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# elasticsearch-create-enrollment-token + +> Create enrollment tokens for Elasticsearch nodes and Kibana instances. +> More information: . + +- Create an enrollment token for adding a new Elasticsearch node: + +`elasticsearch-create-enrollment-token {{[-s|--scope]}} node` + +- Create an enrollment token for adding a new Kibana instance: + +`elasticsearch-create-enrollment-token {{[-s|--scope]}} kibana` + +- Create an enrollment token and display verbose output: + +`elasticsearch-create-enrollment-token {{[-s|--scope]}} node --verbose` + +- Create an enrollment token for a Kibana instance with a custom Elasticsearch URL: + +`elasticsearch-create-enrollment-token {{[-s|--scope]}} kibana --url "{{IP}}"` + +- Display help: + +`elasticsearch-create-enrollment-token {{[-h|--help]}}` diff --git a/tldr/linux/bootctl b/tldr/linux/bootctl index f694c9ee..1d4b4d36 100644 --- a/tldr/linux/bootctl +++ b/tldr/linux/bootctl @@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git - Show information about the system firmware and the bootloaders: -`bootctl status` +`bootctl` - Show all available bootloader entries: @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Specify the path to the EFI system partition (defaults to `/efi/`, `/boot/` or `/boot/efi`): -`bootctl --esp-path={{/path/to/efi_system_partition/}}` +`bootctl --esp-path {{/path/to/efi_system_partition/}}` - Install `systemd-boot` into the EFI system partition: diff --git a/tldr/linux/pveam b/tldr/linux/pveam new file mode 100644 index 00000000..e60c87da --- /dev/null +++ b/tldr/linux/pveam @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pveam + +> Manage LXC container templates. +> More information: . + +- Update container template database: + +`pveam update` + +- List available templates: + +`pveam available` + +- Download a template: + +`pveam download {{local}} {{template_name}}` + +- List downloaded templates: + +`pveam list {{local}}`