Using BeagleBone Black as Salt-Master to Provision VMs

Instructions Apply To

Beagle Bone Black, Rev C

/etc/dogtag: BeagleBoard.org BeagleBone Debian Image 2014-04-23

 

1. Boot up BeagleBone black and SSH over USB.

2. Fix /etc/init.d/led_aging.sh to contain the following so that apt-get installs work.

#!/bin/sh -e
### BEGIN INIT INFO
# Provides:          led_aging.sh
# Required-Start:    $local_fs
# Required-Stop:     $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start LED aging
# Description:       Starts LED aging (whatever that is)
### END INIT INFO

x=$(/bin/ps -ef | /bin/grep “[l]ed_acc”)
if [ ! -n “$x” -a -x /usr/bin/led_acc ]; then
/usr/bin/led_acc &
fi

3. Follow saltstack installation for Debian.

http://docs.saltstack.com/en/latest/topics/installation/debian.html

Leave a Reply

Your email address will not be published. Required fields are marked *

*