From 50953e326e6f0c86bdabc91fd788d634d3a90a9e Mon Sep 17 00:00:00 2001 From: Zhang Le Date: Thu, 1 Jun 2017 15:53:50 +0800 Subject: [PATCH] Fix deployment errors clustername should contain only lower case letters, digits, and dash. sshPassword should contain at least one digit. --- inst/examples/example_azureCreateHDI.R | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/inst/examples/example_azureCreateHDI.R b/inst/examples/example_azureCreateHDI.R index aaf0455..12fd4fe 100644 --- a/inst/examples/example_azureCreateHDI.R +++ b/inst/examples/example_azureCreateHDI.R @@ -1,11 +1,16 @@ \dontrun{ library(AzureSMR) -azureCreateHDI(asc, resourceGroup = resourceGroup_name, clustername = "azuresmr_hdi_test", - storageAccount = "azuresmrhditestsa", - adminUser = "hdiadmin", adminPassword = "Azuresmr_password1", - sshUser = "sssUser_test1", sshPassword = "sshUser_password", - kind = "rserver", - debug = TRUE -) + azureCreateHDI(context, + resourceGroup = RG, + clustername = "smrhdi", # only low case letters, digit, and dash. + storageAccount = "smrhdisa", + adminUser = "hdiadmin", + adminPassword = "AzureSMR_password123", + sshUser = "hdisshuser", + sshPassword = "AzureSMR_password123", # need at least digits. + kind = "rserver", + debug = FALSE + ) + }