minishift unable to set profile name with single letter alphanumeric character
As per the current changes profile name should be alphanumeric. However there is an issue of profile name having single char or a single digit number. In both the case minishift fails to set the profile. Case 1:
Amits-MacBook-Pro:bin amit$ ./minishift profile set 'a'
Profile names must consist of alphanumeric characters only.
Amits-MacBook-Pro:bin amit$ ./minishift profile set 'aa'
Profile 'aa' set as active profile.
Case 2:
Amits-MacBook-Pro:bin amit$ ./minishift profile set '1'
Profile names must consist of alphanumeric characters only.
Amits-MacBook-Pro:bin amit$ ./minishift profile set '11'
Profile '11' set as active profile.
9 Answer:
We do need to check if _
is vaild VM name for different hypervisors otherwise we might force it to use minimum 2 characters.
I think single alpha numeric character is fine with any hypervisor. So we should fix it asap.
We do need to check if _ is vaild VM name for different hypervisors otherwise we might force it to use minimum 2 characters.
You mean -
right? not _
. I do not think -
should be allowed as a single character for profile name as -
should be only used as a separator.
You mean - right? not _.
@LalatenduMohanty No, I meant _
only because write now we are using \w
which is word range and contain _
also so if we allow single character that means _
shouldn't have any issue.
I am afraid _
(underscore) is not accepted as a valid character for VM name in KVM/libvirt. I need to first cross check it.
Resolved via https://github.com/minishift/minishift/pull/1749/
Thanks for sharing the link I never read about it before. In return, I would like to share nhs argos discount and some other discount codes that will be beneficial for everyone visiting here. If you are planning to travel you can go through the travelodge discount code student, it is easy to avail.
It is all set to rock the Drift Hunters with its impressive performance and ability to glue users for hours because it got thousands of active users within a few days.
The same problem occurred to me as well. While I was designing the website for my client i.e professional cv writing service. try adding - instead of _ this might help you out rest of the coding is ok