Skip to content
This repository has been archived by the owner on Oct 31, 2019. It is now read-only.

Commit

Permalink
Fix deployment errors
Browse files Browse the repository at this point in the history
clustername should contain only lower case letters, digits, and dash. sshPassword should contain at least one digit.
  • Loading branch information
yueguoguo authored Jun 1, 2017
1 parent c68ed67 commit 50953e3
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions inst/examples/example_azureCreateHDI.R
Original file line number Diff line number Diff line change
@@ -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
)

}

0 comments on commit 50953e3

Please sign in to comment.