- Install git osx key chain tool
- Create a Personal Access token
- https://github.com/settings/tokens
- Give it a name
- Tick all the option in the
repo
- Click Generate Token
touch /etc/apt/sources.list.d/chromium.list | |
echo "deb http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu vivid main" > /etc/apt/sources.list.d/chromium.list | |
echo "#deb-src http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu vivid main" >> /etc/apt/sources.list.d/chromium.list | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DB69B232436DAC4B50BDC59E4E1B983C5B393194 | |
sudo apt update && sudo apt install chromium-browser -y -f |
#cloud-config | |
write_files: | |
- path: /etc/init.d/on-shutdown | |
owner: root:root | |
permissions: '0755' | |
content: | | |
#!/bin/sh | |
# | |
# /etc/init.d/on-shutdown |
#!/bin/bash | |
DEVICE_ID="disk2" | |
KALI_VERSION="2.1.2" | |
KALI_IMG="kali-$KALI_VERSION-rpi2.img" | |
# fetch image | |
wget https://images.offensive-security.com/arm-images/$KALI_IMG.xz | |
brew install xz |
repo