Update 2 files
- /software.yml - /home/.chezmoiscripts/universal/run_onchange_after_44-vmware-install.tmpl
This commit is contained in:
parent
bef1915b00
commit
9c4aa8c6f9
2 changed files with 6 additions and 3 deletions
|
@ -1,14 +1,15 @@
|
|||
{{- if eq .host.distro.family "linux" -}}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
{{- $secretKey := "" -}}
|
||||
{{- if (stat (joinPath (.chezmoi.sourceDir ".chezmoitemplates" "secrets" "key-vmware-workstation"))) -}}
|
||||
{{- $secretKey := (default "4C21U-2KK9Q-M8130-4V2QH-CF810" (includeTemplate "secrets/key-vmware-workstation" | decrypt)) -}}
|
||||
{{- $secretKey = (default "4C21U-2KK9Q-M8130-4V2QH-CF810" (includeTemplate "secrets/key-vmware-workstation" | decrypt)) -}}
|
||||
{{- else -}}
|
||||
{{- $secretKey := (default "4C21U-2KK9Q-M8130-4V2QH-CF810" (env "VMWARE_WORKSTATION_LICENSE_KEY")) -}}
|
||||
{{- $secretKey = (default "4C21U-2KK9Q-M8130-4V2QH-CF810" (env "VMWARE_WORKSTATION_LICENSE_KEY")) -}}
|
||||
{{- end }}
|
||||
|
||||
# Source: https://gist.github.com/PurpleVibe32/30a802c3c8ec902e1487024cdea26251
|
||||
# key: {{- $secretKey }}
|
||||
# key: {{ $secretKey }}
|
||||
|
||||
{{ includeTemplate "universal/profile-before" }}
|
||||
{{ includeTemplate "universal/logg-before" }}
|
||||
|
|
|
@ -5803,6 +5803,7 @@ softwarePackages:
|
|||
- php-json
|
||||
- php-mbstring
|
||||
- php-opcache
|
||||
- php-pgsql
|
||||
- php-redis
|
||||
- php-snmp
|
||||
- php-sqlite3
|
||||
|
@ -5824,6 +5825,7 @@ softwarePackages:
|
|||
- php-json
|
||||
- php-mbstring
|
||||
- php-opcache
|
||||
- php-pgsql
|
||||
- php-redis
|
||||
- php-snmp
|
||||
- php-sqlite3
|
||||
|
|
Loading…
Reference in a new issue