Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The naming and casing of hostname of provisioned EFLOW VM. #52

Closed
jamesclu opened this issue Jul 20, 2021 · 3 comments
Closed

The naming and casing of hostname of provisioned EFLOW VM. #52

jamesclu opened this issue Jul 20, 2021 · 3 comments

Comments

@jamesclu
Copy link

Describe the bug
Deploy-Eflow seems to always append “-EFLOW” to Windows hostname. In my case, I have my Windows hostname in lowercase and the provisioned EflowVm actually has my Windows hostname changed to uppercase with “-EFLOW” appended to it!?

To Reproduce
Steps to reproduce the behavior:
$msiPath = $([io.Path]::Combine($env:TEMP, 'AzureIoTEdge.msi'))
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest "https://aka.ms/AzEflowMSI" -OutFile $msiPath
Start-Process -Wait msiexec -ArgumentList "/i","$([io.Path]::Combine($env:TEMP, 'AzureIoTEdge.msi'))","/qn"
Deploy-Eflow

Expected behavior
Assuming a Windows 10 with hostname 'mywindows', after running Deploy-Eflow command, the provisioned EFLOW VM, when using Connect-EflowVm, should have the hostname as 'mywindows-eflow', instead of what it is - MYWINDOWS-EFLOW.

Screenshots
If applicable, add screenshots to help explain your problem.

Windows Host OS (please complete the following information):

  • Edition: [e.g. Professional, IoT Enterprise, Server, etc]
  • Version: [e.g. build 17763]
  • Virtual Machine: [eg. Azure VM, Local VM, None]

Additional context
Add any other context about the problem here.

@johnsonshih
Copy link
Contributor

deploy-eflow gets host computer name from the environment variable $env:COMPUTERNAME and appends '-EFLOW' to the host computer name as eflow vm hostname. You can change your environment variable to lower case if you want. for the '-EFLOW ' suffix, it's in upper cases by design.

@jamesclu
Copy link
Author

jamesclu commented Jul 20, 2021 via email

@fcabrera23
Copy link
Contributor

Thanks @jamesclu,

We will update the documentation to make sure the user is aware of the naming scheme used.

Thanks,
Francisco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants