getting ready to test

此提交包含在:
2019-10-04 05:44:29 -07:00
父節點 7ee2448934
當前提交 f23a098555
共有 9 個檔案被更改,包括 60 行新增 和 99 行删除
+9 -32
查看文件
@@ -1,36 +1,13 @@
PKGS="
apt-transport-https
byobu
ca-certificates
cryptsetup-bin
curl
dirmngr
dnsutils
gnupg-agent
gnupg2
haveged
inetutils-ping
jq
lsof
man-db
mosh
nmap
opensc
pcscd
pinentry-curses
pv
rsync
runit
runit-systemd
scdaemon
screen
software-properties-common
usbmount
vim
wget
"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PKGS="$(cat $DIR/packages.txt)"
export DEBIAN_FRONTEND=noninteractive
apt update
apt upgrade -y
apt install -y $PKGS
for PKG in $PKGS ; do
apt install -y $PKG
done
-20
查看文件
@@ -1,20 +0,0 @@
export DEBIAN_FRONTEND=noninteractive
apt update
apt install -y git
export HOME=/root
git clone https://github.com/creationix/nvm.git /root/.nvm
cat >> /root/.bashrc <<'EOF'
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
EOF
source /root/.bashrc
nvm install 10
nvm use 10
npm install -g npm@latest
npm install -g yarn
-12
查看文件
@@ -1,12 +0,0 @@
export NVM_DIR="$HOME/.nvm"
source "$NVM_DIR/nvm.sh"
nvm use 8
# @next as of 14 nov 2018
VERSION="5cd9d6be4f05831f76a12cc833e1fbd5b6e143cd"
unzip -d /var/lib/signoffline /boot/signoffline.zip
cd /var/lib/signoffline
git checkout $VERSION
yarn install
-5
查看文件
@@ -1,5 +0,0 @@
/sbin/dphys-swapfile swapoff
/sbin/dphys-swapfile uninstall
apt purge -y dphys-swapfile
swapoff -a
rm /var/swap
+6
查看文件
@@ -0,0 +1,6 @@
#!/bin/bash
KEY_URL="https://sneak.cloud/authorized_keys"
curl -fLo /root/.ssh/authorized_keys --create-dirs $KEY_URL
curl -fLo /home/pi/.ssh/authorized_keys --create-dirs $KEY_URL
+40
查看文件
@@ -0,0 +1,40 @@
apt-transport-https
bash-completion
build-essential
byobu
ca-certificates
command-not-found
cryptsetup-bin
curl
daemontools
dirmngr
dnsutils
gnupg-agent
gnupg2
golang-go
haveged
inetutils-ping
iptables-persistent
iptraf-ng
jq
less
lsof
man-db
mosh
nmap
ntp
opensc
pbzip2
pcscd
pinentry-curses
pv
rsync
runit
runit-systemd
scdaemon
screen
socat
software-properties-common
usbmount
vim
wget
+1
查看文件
@@ -0,0 +1 @@
REGDOMAIN=US
+10
查看文件
@@ -0,0 +1,10 @@
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"