From bd22e6fcf0714b67b49dd4c9ee27abc62b0aa3d3 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 16 Sep 2024 13:44:23 +0300 Subject: [PATCH] az serial-console: add page, az: improve command (#13709) Co-authored-by: Wiktor Perskawiec --- pages/common/az-serial-console.md | 13 +++++++++++++ pages/common/az-vm.md | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 pages/common/az-serial-console.md diff --git a/pages/common/az-serial-console.md b/pages/common/az-serial-console.md new file mode 100644 index 0000000000..ea094142d0 --- /dev/null +++ b/pages/common/az-serial-console.md @@ -0,0 +1,13 @@ +# az serial-console + +> Connect to the serial console of a Virtual Machine. +> Part of `azure-cli` (also known as `az`). +> More information: . + +- Connect to a serial console: + +`az serial-console connect --resource-group {{Resource_Group_Name}} --name {{Virtual_Machine_Name}}` + +- Terminate the connection: + +`-]` diff --git a/pages/common/az-vm.md b/pages/common/az-vm.md index b91d79bb53..e6d7d3dd03 100644 --- a/pages/common/az-vm.md +++ b/pages/common/az-vm.md @@ -4,9 +4,9 @@ > Part of `azure-cli` (also known as `az`). > More information: . -- List details of available Virtual Machines: +- Display a table of available Virtual Machines: -`az vm list` +`az vm list --output table` - Create a virtual machine using the default Ubuntu image and generate SSH keys: