vagrant-lxc-ng/boxes/common/install-chef
Laurent Vallar 9f7f1dd315 Add Debian wheezy/sid base box templates
Refactor boxes rake task

Create common directory for common installation scripts

Move Debian/Ubuntu common installation scripts
2013-04-25 17:54:54 +02:00

15 lines
297 B
Bash
Executable file

#!/bin/bash
cache=`readlink -f .`
rootfs="${cache}/rootfs"
echo "installing chef"
cat > $rootfs/tmp/install-chef.sh << EOF
#!/bin/sh
curl -L https://www.opscode.com/chef/install.sh -k | sudo bash
EOF
chmod +x $rootfs/tmp/install-chef.sh
chroot $rootfs /tmp/install-chef.sh
rm -rf $rootfs/tmp/*