summaryrefslogtreecommitdiff
path: root/tools/build-on-freebsd
diff options
context:
space:
mode:
authorHarm Weites <harm@weites.com>2014-08-09 21:24:19 +0000
committerHarm Weites <harm@weites.com>2014-08-09 21:24:19 +0000
commitf1202c1b0aeae7378589215887c74f325e6c77cd (patch)
tree7ab38d1e7b48cc888e977979eead9b72b56566f5 /tools/build-on-freebsd
parent33826c4e1b6cbb10a27633a5dd9627fcb88808b4 (diff)
downloadvyos-cloud-init-f1202c1b0aeae7378589215887c74f325e6c77cd.tar.gz
vyos-cloud-init-f1202c1b0aeae7378589215887c74f325e6c77cd.zip
change: Create a symlink to python2.7, to make sure running plain python
works.
Diffstat (limited to 'tools/build-on-freebsd')
-rwxr-xr-xtools/build-on-freebsd3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/build-on-freebsd b/tools/build-on-freebsd
index ff59bd25..0a545207 100755
--- a/tools/build-on-freebsd
+++ b/tools/build-on-freebsd
@@ -3,6 +3,9 @@
# installing cloud-init. This script takes care of building and installing. It
# will optionally make a first run at the end.
+# Since there is no python by default, create a symlink for convenience sake:
+ln -sf /usr/local/bin/python2.7 /usr/local/bin/python
+
# Check dependencies:
[ ! -f /tmp/c-i.dependencieschecked ] && pkg install py27-cheetah py27-Jinja2 py27-prettytable py27-oauth py27-serial py27-configobj py27-yaml py27-argparse py27-requests py27-six py27-boto gpart sudo dmidecode
touch /tmp/c-i.dependencieschecked