vagrant-lxc-ng/boxes/ubuntu/install-chef
2013-04-21 21:31:30 -03:00

14 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/*