Skip to content

Commit

Permalink
fix(osfamilymap): fix bug saltstack-formulas#495
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Dec 29, 2020
1 parent 4da8267 commit 8e1579f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/osfamilymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{%- set rootuser = salt['cmd.run']("stat -f '%Su' /dev/console") %}
{%- set rootgroup = salt['cmd.run']("stat -f '%Sg' /dev/console") %}
{%- elif grains.os_family == 'Windows' %}
{%- set rootuser = salt['cmd.run']("whoami") %}
{%- set rootuser = salt['cmd.run']("echo %USERNAME%") %}
{%- endif %}


Expand Down

0 comments on commit 8e1579f

Please sign in to comment.