pinch-dotfiles/.travis/grains.sh

3 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\" }"