pinch-dotfiles/.travis/grains.sh

4 lines
178 B
Bash
Raw Normal View History

#!/bin/bash
2017-03-04 04:32:20 +00:00
sudo salt-call --local --config=./ --state-output=changes grains.setvals "{ \"user\": \"$(whoami)\", \"group\": \"$(id -g -n $(whoami))\", \"homedir\": \"$HOME\" }"