mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 06:00:35 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/elasticsearch-create-enrollment-token
Normal file
29
tldr/elasticsearch-create-enrollment-token
Normal file
@@ -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: <https://www.elastic.co/guide/en/elasticsearch/reference/current/create-enrollment-token.html>.
|
||||||
|
|
||||||
|
- 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]}}`
|
||||||
@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Show information about the system firmware and the bootloaders:
|
- Show information about the system firmware and the bootloaders:
|
||||||
|
|
||||||
`bootctl status`
|
`bootctl`
|
||||||
|
|
||||||
- Show all available bootloader entries:
|
- 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`):
|
- 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:
|
- Install `systemd-boot` into the EFI system partition:
|
||||||
|
|
||||||
|
|||||||
25
tldr/linux/pveam
Normal file
25
tldr/linux/pveam
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, linux]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# pveam
|
||||||
|
|
||||||
|
> Manage LXC container templates.
|
||||||
|
> More information: <https://pve.proxmox.com/pve-docs/pveam.1.html>.
|
||||||
|
|
||||||
|
- 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}}`
|
||||||
Reference in New Issue
Block a user