This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run_cmd: | |
- "sudo adduser --disabled-password --gecos \"\" vagrant" | |
- "echo vagrant:vagrant | chpasswd" | |
- "mkdir -p /home/vagrant/.ssh" | |
- "chmod 0700 /home/vagrant/.ssh" | |
- "wget --no-check-certificate https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub -O /home/vagrant/.ssh/authorized_keys" | |
- "chmod 0600 /home/vagrant/.ssh/authorized_keys" | |
- "chown -R vagrant /home/vagrant/.ssh" | |
- "echo 'vagrant ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" | |
k3os: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setting default quality to 256kb | |
quality=141 | |
# See if url is provided | |
url=$1 | |
if [ -z $url ]; then | |
echo "Need a URL" | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
{ | |
echo $(date) | |
echo ">>>Disk found" | |
echo ">>>Setting the title..." | |
title=$(makemkvcon -r info) | |
title=`echo "$title" | grep "DRV:0\+"` | |
title=${title:53} |