git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git credentials lost after sysprep

From
JWJohn Wilson <johnw@synaptrix.com>
Date
Apr 28, 2022, 17:02 UTC
Message-ID
<CA+o=yoqriRR15qYdHjWscLoc5UZWuhJwn9PSR8D-+s_XVsyRag@mail.gmail.com>

I have "worker" instances on AWS, windows unfortunately, that require me to sysprep a base instance before imaging it. This process removes saved git credentials. I want to use a scheduled task on startup to pull a repo to ensure the servers are always using the most current code without having to reimage them for every change. How can I store/use credentials, either standard or SSH, neither of which works now, so they persist?

Message 1 of 1 in “Git credentials lost after sysprep”
  1. John WilsonApr 28, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.