-
When I was working offline and run
I tried to skip externals completely by issuing:
But same issue. As the error message says, the reason for the failure is The section in my externals file looks like this:
The easiest way to get past the network requirement was to temporarily remove the whole externals file. But maybe there is a better solution? My simple use case is temporarily running Seems that an offline mode has been considered some time ago in #2354 (comment) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use templating to disable
Then set the $ OFFLINE=1 chezmoi apply |
Beta Was this translation helpful? Give feedback.
You can use templating to disable
.chezmoiexternals
when an environment variable is set, for example:Then set the
$OFFLINE
environment variable when you want to run chezmoi without network access, e.g.$ OFFLINE=1 chezmoi apply