change: Rename the config file to cloud.cfg-freebsd so it doesn't

get copied per default. Packaging will take care of installing this
configfile on the BSD platform.
This commit is contained in:
Harm Weites 2014-08-23 12:16:03 +00:00
parent a21388fe5a
commit 25354f4fa5
2 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ touch $depschecked
python setup.py build
python setup.py install -O1 --skip-build --prefix /usr/local/ --init-system sysvinit_freebsd
# Use the correct config file:
mv /usr/local/etc/cloud/cloud.freebsd.cfg /usr/local/etc/cloud/cloud.cfg
# Install the correct config file:
cp config/cloud.cfg-freebsd /usr/local/etc/cloud/cloud.cfg
# Enable cloud-init in /etc/rc.conf:
sed -i.bak -e "/cloudinit_enable=.*/d" /etc/rc.conf