Pengwin
Pengwin copied to clipboard
Automated installation
Feature request for you, sir! Can you please make a sort of "answer file" or kickstart config, or Ansible playbook one can use to set up Pengwin, so it can be done with no interaction?
I think this could be accomplished.
A user could install Pengwin from the store and then do something like:
pengwin.exe --autosetup setupfile.txt
We would need to add some logic to the first run parts of the launcher.
It could then call a script to parse setupfile.txt.
That script could reach out and run the new modularized and refactored individual pengwin-setup scripts as appropriate.
We would need to suppress the install confirmation prompt in some way, but we have suppression flags elsewhere so that should be easy.
We would need some way to set the user password. We probably shouldn't have the password in plaintext in setupfile.txt but we could probably just use the hash.
We could then have a post-inst option where the script pipes custom script commands directly to bash.
There are install and config options pengwin help said, and they sound like what you want.
Have you tried these?
It looks doing nothing when I tried though. (maybe because its already installed?)
I am new to pengwin and I can not find documents about these options.
Does anyone tell how to use them?
This may help getting started: https://github.com/microsoft/windows-dev-box-setup-scripts/blob/master/scripts/WSL.ps1
Bump, any plans?
Hello @sbugalski,
No direct plans yet, but we are building the foundation, so this will be very easy using existing tools in Linux. The idea is that pengwin-setup scripts can be callable from outside pengwin-setup, and we are working on that.
Thanks for showing your interest.
If you can please elaborate on your use case, it can help us to reorient our priorities.
Regards, Carlos
@crramirez it's enough scripts will be callable from outside. Many thanks
A small update. The latest development version of pengwin-setup includes the ability to make an unattended installation. It is a work in progress but for example now it is possible to do this:
pengwin-setup --noupdate --assume-yes --noninteractive GUI HIDPI
Remember only development branch for now
A small update. The latest development version of pengwin-setup includes the ability to make an unattended installation. It is a work in progress but for example now it is possible to do this:
pengwin-setup --noupdate --assume-yes --noninteractive GUI HIDPIRemember only development branch for now
Wow, perfect! I'll include that in my workstation automation scripts once it will be in the Store.