summaryrefslogtreecommitdiff
path: root/tools/build-on-freebsd
diff options
context:
space:
mode:
authorHarm Weites <harm@weites.com>2014-08-23 12:16:03 +0000
committerHarm Weites <harm@weites.com>2014-08-23 12:16:03 +0000
commit9fcb3f2c7c129576f9a2175614bcb384d492f63e (patch)
tree13c2508f4e564b8634ee28c71966b89f6536393e /tools/build-on-freebsd
parentf68dfa3fd17e0a5eb228e6c7621d6da26e962c9a (diff)
downloadvyos-cloud-init-9fcb3f2c7c129576f9a2175614bcb384d492f63e.tar.gz
vyos-cloud-init-9fcb3f2c7c129576f9a2175614bcb384d492f63e.zip
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.
Diffstat (limited to 'tools/build-on-freebsd')
-rwxr-xr-xtools/build-on-freebsd4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/build-on-freebsd b/tools/build-on-freebsd
index b0203cb8..23bdf487 100755
--- a/tools/build-on-freebsd
+++ b/tools/build-on-freebsd
@@ -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