vagrant-lxc-ng/boxes/common/install-babushka

16 lines
306 B
Plaintext
Raw Normal View History

#!/bin/bash
cache=`readlink -f .`
rootfs="${cache}/rootfs"
echo "installing babushka"
cat > $rootfs/tmp/install-babushka.sh << EOF
#!/bin/sh
2013-04-30 13:44:42 +00:00
curl -L https://babushka.me/up | sudo bash < /dev/null
EOF
chmod +x $rootfs/tmp/install-babushka.sh
chroot $rootfs /tmp/install-babushka.sh
rm -rf $rootfs/tmp/*