diff options
author | Harm Weites <harm@weites.com> | 2014-08-10 11:50:19 +0000 |
---|---|---|
committer | Harm Weites <harm@weites.com> | 2014-08-10 11:50:19 +0000 |
commit | 35236255a05aa7c16eeb7eaee61a79ed8204f334 (patch) | |
tree | 1e2fb2785dc489bcd63b47d7318fc2e01803ae34 /tools | |
parent | b4edd02e0798b5f69732555ba1f2e5ff32a02157 (diff) | |
download | cloud-init-35236255a05aa7c16eeb7eaee61a79ed8204f334.tar.gz |
change: Install everything in the right location on both Linux (which
ofcourse already was good) and FreeBSD (which realy likes /usr/local
for this).
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build-on-freebsd | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/build-on-freebsd b/tools/build-on-freebsd index 7d19f44c..6e6ce8b6 100755 --- a/tools/build-on-freebsd +++ b/tools/build-on-freebsd @@ -17,9 +17,7 @@ touch /tmp/c-i.dependencieschecked python setup.py build python setup.py install -O1 --skip-build --prefix /usr/local/ --init-system sysvinit_freebsd -# Move the configdir to /usr/local/ and use freebsd.cfg: -[ -d /usr/local/etc/cloud ] && rm -rf /usr/local/etc/cloud -mv /etc/cloud /usr/local/etc/ +# Use the correct config file: mv /usr/local/etc/cloud/cloud.freebsd.cfg /usr/local/etc/cloud/cloud.cfg # Enable cloud-init in /etc/rc.conf: |