Fix init process - reducing assumptions
This commit is contained in:
parent
9a15113955
commit
6c93527142
4 changed files with 6 additions and 3 deletions
|
@ -26,7 +26,8 @@
|
|||
{{- $chassisType = "desktop" }}
|
||||
{{- end }}
|
||||
{{- else if eq .chezmoi.os "linux" }}
|
||||
{{- $chassisType = (output "hostnamectl" "--json=short" | mustFromJson).Chassis }}
|
||||
# $chassisType = (output "hostnamectl" "--json=short" | mustFromJson).Chassis }}
|
||||
{{- $chassisType = "server" }}
|
||||
{{- else if eq .chezmoi.os "windows" }}
|
||||
{{- $sysType = "windows" }}
|
||||
{{- $sysVendor = "pc" }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue