How do I set username and password for Windows VMs? #336
|
I might've just not understood it correctly, but it just doesn't accept Also I have a feeling that there are more issues than just it 🤔 |
Replies: 1 comment
|
Your welcome ;-) For your Windows machine you can just rebind the fodder variables of the starter like this: name: winsrv
parent: dbosoft/winsrv2022-standard/starter
variables:
- name: Username
required: true
- name: Password
required: true
secret: true
fodder:
- source: gene:dbosoft/starter-food:win-starter
variables:
- name: AdminUsername
value: "{{ Username }}"
- name: AdminPassword
value: "{{ Password }}"This is actually the best practice when using fodder with variables. However, for the starter tags, we made an exception to the rule because we want to avoid the user getting stuck on the first try just because the password is not accepted by Windows/Linux password rules. To explain this a bit more, both catlets and fodder have a variables section. And yes, we are still fixing some bugs in the App, so you are already a bit behind the current version (0.1.17). Any bug report or other question is welcome! |

Your welcome ;-)
See this tutorial for a quick introduction to variables: https://github.com/eryph-org/samples/blob/main/tutorial/tutorial-3.yaml or even the full tutorial https://github.com/eryph-org/samples/blob/main/tutorial/README.md
For your Windows machine you can just rebind the fodder variables of the starter like this:
This is actually …