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 | 833ebcba6ca333183284d1f9a0fe5f53df802712 (patch) | |
tree | 1e2fb2785dc489bcd63b47d7318fc2e01803ae34 /tools | |
parent | de0e832b51624603664eab189a083e612554125a (diff) | |
download | vyos-cloud-init-833ebcba6ca333183284d1f9a0fe5f53df802712.tar.gz vyos-cloud-init-833ebcba6ca333183284d1f9a0fe5f53df802712.zip |
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: |