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
Use GCE Launch Scripts to install required software on first boot #2
Comments
Had a bit of a tinker with this. We need to add the metadata for the script before the instance starts. Looking at cribbing a bunch of stuff off of the CloudyGamer install script |
Agreed; the "base" template can be created with the relevant metadata to run a startup script that fetches and executes Once installation is complete, we can use powershell commands to update the instance group over to the "normal" template so these scripts only run once (e.g. during setup) |
I have a mostly working first pass in this branch. |
Could you implement this in program it? https://chocolatey.org/ |
@killedora do you mean rewrite the script to use Chocolatey? Or to include installing Chocolatey? |
plugged away on this some more over the weekend. merging the windows_startup_script branch with bugfix branch[1] gets a working windows software install in ~17mins. lots more tinkering to do but it's working :) [1] there's a merge conflict between the branches I need to work out |
Merged everything into develop and kept working from there. |
Thanks @deekue for all your hard work on this! |
https://cloud.google.com/compute/docs/startupscript#providing_a_startup_script_for_windows_instances
The text was updated successfully, but these errors were encountered: