From b80182d339be6260035602e842f957bc2cb8ca50 Mon Sep 17 00:00:00 2001 From: Thomas Conte Date: Tue, 24 Oct 2017 13:16:23 +0000 Subject: [PATCH] Add Azure boot diagnostics Signed-off-by: Thomas Conte --- src/cmd/linuxkit/azure.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cmd/linuxkit/azure.go b/src/cmd/linuxkit/azure.go index 65e88c2f2..48b1982db 100644 --- a/src/cmd/linuxkit/azure.go +++ b/src/cmd/linuxkit/azure.go @@ -415,6 +415,12 @@ func setVirtualMachineParameters(storageAccountName string, networkInterfaceID, }, }, }, + DiagnosticsProfile: &compute.DiagnosticsProfile{ + BootDiagnostics: &compute.BootDiagnostics{ + Enabled: to.BoolPtr(true), + StorageURI: to.StringPtr(fmt.Sprintf("https://%s.blob.core.windows.net", storageAccountName)), + }, + }, }, } }