pinch-dotfiles/.travis/grains.sh

4 lines
178 B
Bash
Raw Normal View History

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