anjuna-azure-cli instance log

anjuna-azure-cli instance log --resource-group <resource-group> --name <VM-instance-name> [OPTIONS...]

Reads an Anjuna Confidential Container’s boot log.

Options

Usage

anjuna-azure-cli instance log --resource-group <resource-group> --name <VM-instance-name> [OPTIONS...]

--name

(Required) Name of the VM instance to use

--resource-group

(Required) Azure resource group to use

--tail

Continuously poll for new boot log messages (press CTRL-C to exit)

Global options

The following options are available for all anjuna-azure-cli subcommands.

Global options

-h, --help

Prints the help information for the command

--debug

Prints debug messaging

-v, --version

Prints the anjuna-azure-cli version

Exit status

  • 0 on success

  • 1 on error

Examples

$ anjuna-azure-cli instance log \
  --name my-cvm-instance \
  --resource-group myresourcegroup

GRUB_FORCE_PARTUUID set, attempting initrdless boot.
[    0.000000] Linux version 5.15.0-1039-azure (buildd@lcy02-amd64-067) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #46~20.04.1-Ubuntu SMP Mon May 22 19:42:46 UTC 2023 (Ubuntu 5.15.0-1039.46~20.04.1-azure 5.15.98)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-1039-azure root=PARTUUID=009f94b8-8128-45cc-90af-ef644b24e646 ro console=tty1 console=ttyS0 earlyprintk=ttyS0 panic=-1
...
$
$ anjuna-azure-cli instance log \
  --tail \
  --name my-cvm-instance \
  --resource-group myresourcegroup

Tailing boot log, press CTRL-C to exit..
GRUB_FORCE_PARTUUID set, attempting initrdless boot.
[    0.000000] Linux version 5.15.0-1039-azure (buildd@lcy02-amd64-067) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #46~20.04.1-Ubuntu SMP Mon May 22 19:42:46 UTC 2023 (Ubuntu 5.15.0-1039.46~20.04.1-azure 5.15.98)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-1039-azure root=PARTUUID=009f94b8-8128-45cc-90af-ef644b24e646 ro console=tty1 console=ttyS0 earlyprintk=ttyS0 panic=-1
...