4 lines
178 B
Bash
4 lines
178 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
sudo salt-call --local --config=./ --state-output=changes grains.setvals "{ \"user\": \"$(whoami)\", \"group\": \"$(id -g -n $(whoami))\", \"homedir\": \"$home\" }"
|