summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/cloud.cfg-freebsd (renamed from config/cloud.freebsd.cfg)0
-rwxr-xr-xtools/build-on-freebsd4
2 files changed, 2 insertions, 2 deletions
diff --git a/config/cloud.freebsd.cfg b/config/cloud.cfg-freebsd
index bb3a4a51..bb3a4a51 100644
--- a/config/cloud.freebsd.cfg
+++ b/config/cloud.cfg-freebsd
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